flowx.domain package
Subpackages
Submodules
flowx.domain._domain module
- flowx.domain._domain.Domain(nx, ny, xmin, xmax, ymin, ymax, center_vars=None, face_vars=None, scalar_info=None, particle_info=None, bc_type_center=None, bc_val_center=None, bc_type_facex=None, bc_val_facex=None, bc_type_facey=None, bc_val_facey=None)
flowx.domain._particles module
- class flowx.domain._particles.Particles(particle_info, xmin, xmax, ymin, ymax, scalars)
Bases:
object
Class to store and advance particle data related to the immersed boundary
- advance()
Subroutine to advance the particle data
- offset(transform)
Subroutine to rotate particles
- reset()
Subroutine to reset particle positions to their original values
- rotate(alpha)
Subroutine to rotate particles
flowx.domain._scalars module
- class flowx.domain._scalars.Scalars(scalar_info)
Bases:
object
Class to store and advance scalar data such as simulation time, time-step, Reynolds number, etc.
- _set_default_values()
Private subroutine to set default values
- _set_user_values(scalar_info)
Private subroutine to set user defined values
- advance()
Subroutine to advance the simulation time and time-step