COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Namespaces | Variables
atest-flatplate2d-scalar-neumann.py File Reference

Go to the source code of this file.

Namespaces

 atest-flatplate2d-scalar-neumann
 

Variables

tuple root = cf.Core.root()
 
tuple env = cf.Core.environment()
 
tuple model = root.create_component('NavierStokes', 'cf3.solver.ModelUnsteady')
 Global confifuration. More...
 
tuple domain = model.create_domain()
 
tuple physics = model.create_physics('cf3.UFEM.NavierStokesPhysics')
 
tuple solver = model.create_solver('cf3.UFEM.Solver')
 
tuple ic = solver.create_initial_conditions()
 
tuple nstokes = solver.add_unsteady_solver('cf3.UFEM.NavierStokes')
 
tuple scalaradv = solver.add_unsteady_solver('cf3.UFEM.ScalarAdvection')
 
tuple blocks = domain.create_component('blocks', 'cf3.mesh.BlockMesh.BlockArrays')
 
tuple points = blocks.create_points(dimensions = 2, nb_points = 12)
 
tuple block_nodes = blocks.create_blocks(6)
 
tuple block_subdivs = blocks.create_block_subdivisions()
 
tuple gradings = blocks.create_block_gradings()
 
tuple inlet_patch = blocks.create_patch_nb_faces(name = 'inlet', nb_faces = 2)
 
tuple bottom_patch1 = blocks.create_patch_nb_faces(name = 'bottom1', nb_faces = 1)
 
tuple bottom_patch2 = blocks.create_patch_nb_faces(name = 'bottom2', nb_faces = 1)
 
tuple bottom_patch3 = blocks.create_patch_nb_faces(name = 'bottom3', nb_faces = 1)
 
tuple outlet_patch = blocks.create_patch_nb_faces(name = 'outlet', nb_faces = 2)
 
tuple top_patch = blocks.create_patch_nb_faces(name = 'top', nb_faces = 3)
 
tuple mesh = domain.create_component('Mesh', 'cf3.mesh.Mesh')
 
list u_in = [1., 0.]
 
list u_wall = [0., 0.]
 
int phi_in = 100
 
int phi_wall = 200
 
tuple bc = nstokes.get_child('BoundaryConditions')
 
tuple bc_wall_flux = bc.create_bc_action(region_name = 'bottom1', builder_name = 'cf3.UFEM.BCNeumannConstant')
 
tuple time = model.create_time()
 
float final_end_time = 0.1
 
float save_interval = 0.01
 
int current_end_time = 0
 
int iteration = 0
 
Send comments to:
COOLFluiD Web Admin