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

Go to the source code of this file.

Namespaces

 atest-flatplate2d-spalartallmaras
 

Variables

tuple root = cf.Core.root()
 
tuple env = cf.Core.environment()
 
tuple model = root.create_component('NavierStokes', 'cf3.solver.ModelUnsteady')
 Global configuration. 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 satm = solver.add_unsteady_solver('cf3.UFEM.SpalartAllmaras')
 
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.]
 
float NU_in = 0.001
 
int NU_wall = 0
 
tuple wall_distance = domain.create_component('WallDistance', 'cf3.mesh.actions.WallDistance')
 
tuple bc = nstokes.get_child('BoundaryConditions')
 
tuple time = model.create_time()
 
float final_end_time = 0.5
 
float save_interval = 0.1
 
int iteration = 0
 
Send comments to:
COOLFluiD Web Admin