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

Go to the source code of this file.

Namespaces

 atest-flatplate2d-laminar
 

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 nstokes = solver.add_unsteady_solver('cf3.UFEM.NavierStokes')
 
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.]
 
 ic_ns = solver.InitialConditions.navier_stokes_solution
 
 bc = nstokes.BoundaryConditions
 
tuple time = model.create_time()
 
int final_end_time = 1
 
float save_interval = 0.1
 
int iteration = 0
 
Send comments to:
COOLFluiD Web Admin