COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Variables
atest-ufem-navier-stokes-semi-implicit-laminar-channel-2d Namespace Reference

Variables

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 p_copy = solver.add_unsteady_solver('cf3.solver.actions.CopyScalar')
 
tuple ns_solver = solver.add_unsteady_solver('cf3.UFEM.NavierStokesSemiImplicit')
 
int refinement_level = 1
 
tuple supg_terms = solver.add_unsteady_solver('cf3.UFEM.SUPGFields')
 
tuple residuals = solver.add_unsteady_solver('cf3.UFEM.NSResidual')
 
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 nb_procs = cf.Core.nb_procs()
 
tuple mesh = domain.create_component('Mesh', 'cf3.mesh.Mesh')
 
tuple create_point_region = domain.create_component('CreatePointRegion', 'cf3.mesh.actions.AddPointRegion')
 
tuple link_horizontal = domain.create_component('LinkHorizontal', 'cf3.mesh.actions.LinkPeriodicNodes')
 
float tstep = 0.5
 
 lss = ns_solver.VelocityLSS.LSS
 
tuple ic_u = solver.InitialConditions.NavierStokes.create_initial_condition(builder_name = 'cf3.UFEM.InitialConditionFunction', field_tag = 'navier_stokes_u_solution')
 
tuple ic_g = solver.InitialConditions.NavierStokes.create_initial_condition(builder_name = 'cf3.UFEM.InitialConditionFunction', field_tag = 'body_force')
 
 bc_u = ns_solver.VelocityLSS.BC
 
tuple supg_avg = solver.add_unsteady_solver('cf3.solver.actions.FieldTimeAverage')
 
tuple res_avg = solver.add_unsteady_solver('cf3.solver.actions.FieldTimeAverage')
 
tuple time = model.create_time()
 
tuple u_ref = y*(2-y)
 

Variable Documentation

bc_u = ns_solver.VelocityLSS.BC
tuple block_nodes = blocks.create_blocks(2)
tuple block_subdivs = blocks.create_block_subdivisions()
tuple blocks = domain.create_component('blocks', 'cf3.mesh.BlockMesh.BlockArrays')
tuple bottom_patch = blocks.create_patch_nb_faces(name = 'bottom', nb_faces = 1)
tuple create_point_region = domain.create_component('CreatePointRegion', 'cf3.mesh.actions.AddPointRegion')
tuple domain = model.create_domain()
tuple env = cf.Core.environment()
tuple gradings = blocks.create_block_gradings()
tuple ic_g = solver.InitialConditions.NavierStokes.create_initial_condition(builder_name = 'cf3.UFEM.InitialConditionFunction', field_tag = 'body_force')
tuple ic_u = solver.InitialConditions.NavierStokes.create_initial_condition(builder_name = 'cf3.UFEM.InitialConditionFunction', field_tag = 'navier_stokes_u_solution')
tuple left_patch = blocks.create_patch_nb_faces(name = 'left', nb_faces = 2)
tuple link_horizontal = domain.create_component('LinkHorizontal', 'cf3.mesh.actions.LinkPeriodicNodes')
lss = ns_solver.VelocityLSS.LSS
tuple mesh = domain.create_component('Mesh', 'cf3.mesh.Mesh')
tuple model = root.create_component('NavierStokes', 'cf3.solver.ModelUnsteady')
tuple nb_procs = cf.Core.nb_procs()
tuple ns_solver = solver.add_unsteady_solver('cf3.UFEM.NavierStokesSemiImplicit')
tuple p_copy = solver.add_unsteady_solver('cf3.solver.actions.CopyScalar')
tuple physics = model.create_physics('cf3.UFEM.NavierStokesPhysics')
tuple points = blocks.create_points(dimensions = 2, nb_points = 6)
int refinement_level = 1
tuple res_avg = solver.add_unsteady_solver('cf3.solver.actions.FieldTimeAverage')
tuple residuals = solver.add_unsteady_solver('cf3.UFEM.NSResidual')
tuple right_patch = blocks.create_patch_nb_faces(name = 'right', nb_faces = 2)
tuple root = cf.Core.root()
tuple solver = model.create_solver('cf3.UFEM.Solver')
tuple supg_avg = solver.add_unsteady_solver('cf3.solver.actions.FieldTimeAverage')
tuple supg_terms = solver.add_unsteady_solver('cf3.UFEM.SUPGFields')
tuple time = model.create_time()
tuple top_patch = blocks.create_patch_nb_faces(name = 'top', nb_faces = 1)
float tstep = 0.5
tuple u_ref = y*(2-y)
Send comments to:
COOLFluiD Web Admin