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

Go to the source code of this file.

Namespaces

 atest-boussinesq
 

Variables

tuple root = cf.Core.root()
 
tuple env = cf.Core.environment()
 
tuple model = root.create_component('Boussinesq', '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 boussinesq = 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 = 4)
 
tuple block_nodes = blocks.create_blocks(1)
 
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 = 1)
 
tuple bottom_patch = blocks.create_patch_nb_faces(name = 'bottom', nb_faces = 1)
 
tuple right_patch = blocks.create_patch_nb_faces(name = 'right', nb_faces = 1)
 
tuple top_patch = blocks.create_patch_nb_faces(name = 'top', nb_faces = 1)
 
tuple mesh = domain.create_component('Mesh', 'cf3.mesh.Mesh')
 
list u_in = [1., 0.]
 
list u_wall = [0., 0.]
 
int phi_in = 1
 
int phi_wall = 0
 
tuple bc = boussinesq.get_child('BoundaryConditions')
 
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