COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Variables
atest-ufem-ns-driven-cavity Namespace Reference

Variables

list u_lid = [2., 0.]
 
int segments = 32
 
tuple root = cf.Core.root()
 
tuple env = cf.Core.environment()
 
tuple model = root.create_component('NavierStokes', 'cf3.solver.ModelUnsteady')
 
tuple domain = model.create_domain()
 
tuple physics = model.create_physics('cf3.UFEM.NavierStokesPhysics')
 
tuple solver = model.create_solver('cf3.UFEM.Solver')
 
tuple ns_solver = solver.add_unsteady_solver('cf3.UFEM.NavierStokesSemiImplicit')
 
tuple ic_visc = solver.InitialConditions.create_initial_condition(builder_name = 'cf3.UFEM.InitialConditionFunction', field_tag = 'navier_stokes_viscosity')
 
tuple blocks = domain.create_component('blocks', 'cf3.mesh.BlockMesh.BlockArrays')
 
tuple points = blocks.create_points(dimensions = 2, nb_points = 6)
 
tuple block_nodes = blocks.create_blocks(2)
 
tuple block_subdivs = blocks.create_block_subdivisions()
 
tuple gradings = blocks.create_block_gradings()
 
tuple left_patch = blocks.create_patch_nb_faces(name = 'left', nb_faces = 2)
 
tuple bottom_patch = blocks.create_patch_nb_faces(name = 'bottom', nb_faces = 1)
 
tuple top_patch = blocks.create_patch_nb_faces(name = 'top', nb_faces = 1)
 
tuple right_patch = blocks.create_patch_nb_faces(name = 'right', nb_faces = 2)
 
tuple mesh = domain.create_component('Mesh', 'cf3.mesh.Mesh')
 
tuple create_point_region = domain.create_component('CreatePointRegion', 'cf3.mesh.actions.AddPointRegion')
 
tuple ic_u = solver.InitialConditions.create_initial_condition(builder_name = 'cf3.UFEM.InitialConditionFunction', field_tag = 'navier_stokes_u_solution')
 
tuple ic_p = solver.InitialConditions.create_initial_condition(builder_name = 'cf3.UFEM.InitialConditionFunction', field_tag = 'navier_stokes_p_solution')
 
 bc = ns_solver.VelocityLSS.BC
 
 lss = ns_solver.VelocityLSS.LSS
 
tuple time = model.create_time()
 
int final_end_time = 1
 
float save_interval = 0.1
 
int iteration = 0
 

Variable Documentation

bc = ns_solver.VelocityLSS.BC

Definition at line 99 of file atest-ufem-ns-driven-cavity.py.

tuple block_nodes = blocks.create_blocks(2)

Definition at line 44 of file atest-ufem-ns-driven-cavity.py.

tuple block_subdivs = blocks.create_block_subdivisions()

Definition at line 48 of file atest-ufem-ns-driven-cavity.py.

tuple blocks = domain.create_component('blocks', 'cf3.mesh.BlockMesh.BlockArrays')

Definition at line 35 of file atest-ufem-ns-driven-cavity.py.

tuple bottom_patch = blocks.create_patch_nb_faces(name = 'bottom', nb_faces = 1)

Definition at line 60 of file atest-ufem-ns-driven-cavity.py.

tuple create_point_region = domain.create_component('CreatePointRegion', 'cf3.mesh.actions.AddPointRegion')

Definition at line 75 of file atest-ufem-ns-driven-cavity.py.

tuple domain = model.create_domain()

Definition at line 21 of file atest-ufem-ns-driven-cavity.py.

tuple env = cf.Core.environment()

Definition at line 10 of file atest-ufem-ns-driven-cavity.py.

int final_end_time = 1

Definition at line 129 of file atest-ufem-ns-driven-cavity.py.

tuple gradings = blocks.create_block_gradings()

Definition at line 52 of file atest-ufem-ns-driven-cavity.py.

tuple ic_p = solver.InitialConditions.create_initial_condition(builder_name = 'cf3.UFEM.InitialConditionFunction', field_tag = 'navier_stokes_p_solution')

Definition at line 89 of file atest-ufem-ns-driven-cavity.py.

tuple ic_u = solver.InitialConditions.create_initial_condition(builder_name = 'cf3.UFEM.InitialConditionFunction', field_tag = 'navier_stokes_u_solution')

Definition at line 84 of file atest-ufem-ns-driven-cavity.py.

tuple ic_visc = solver.InitialConditions.create_initial_condition(builder_name = 'cf3.UFEM.InitialConditionFunction', field_tag = 'navier_stokes_viscosity')

Definition at line 31 of file atest-ufem-ns-driven-cavity.py.

int iteration = 0

Definition at line 131 of file atest-ufem-ns-driven-cavity.py.

tuple left_patch = blocks.create_patch_nb_faces(name = 'left', nb_faces = 2)

Definition at line 56 of file atest-ufem-ns-driven-cavity.py.

lss = ns_solver.VelocityLSS.LSS

Definition at line 111 of file atest-ufem-ns-driven-cavity.py.

tuple mesh = domain.create_component('Mesh', 'cf3.mesh.Mesh')

Definition at line 72 of file atest-ufem-ns-driven-cavity.py.

tuple model = root.create_component('NavierStokes', 'cf3.solver.ModelUnsteady')

Definition at line 20 of file atest-ufem-ns-driven-cavity.py.

tuple ns_solver = solver.add_unsteady_solver('cf3.UFEM.NavierStokesSemiImplicit')

Definition at line 26 of file atest-ufem-ns-driven-cavity.py.

tuple physics = model.create_physics('cf3.UFEM.NavierStokesPhysics')

Definition at line 22 of file atest-ufem-ns-driven-cavity.py.

tuple points = blocks.create_points(dimensions = 2, nb_points = 6)

Definition at line 36 of file atest-ufem-ns-driven-cavity.py.

tuple right_patch = blocks.create_patch_nb_faces(name = 'right', nb_faces = 2)

Definition at line 66 of file atest-ufem-ns-driven-cavity.py.

tuple root = cf.Core.root()

Definition at line 9 of file atest-ufem-ns-driven-cavity.py.

float save_interval = 0.1

Definition at line 130 of file atest-ufem-ns-driven-cavity.py.

int segments = 32

Definition at line 6 of file atest-ufem-ns-driven-cavity.py.

tuple solver = model.create_solver('cf3.UFEM.Solver')

Definition at line 23 of file atest-ufem-ns-driven-cavity.py.

tuple time = model.create_time()

Definition at line 125 of file atest-ufem-ns-driven-cavity.py.

tuple top_patch = blocks.create_patch_nb_faces(name = 'top', nb_faces = 1)

Definition at line 63 of file atest-ufem-ns-driven-cavity.py.

list u_lid = [2., 0.]

Definition at line 5 of file atest-ufem-ns-driven-cavity.py.

Send comments to:
COOLFluiD Web Admin