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

Go to the source code of this file.

Namespaces

 atest-ufem-navier-stokes-cylinder2d
 

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 ns_solver = solver.add_unsteady_solver('cf3.UFEM.NavierStokes')
 
tuple mesh = domain.load_mesh(file = cf.URI(sys.argv[1]), name = 'Mesh')
 
list u_in = [2., 0.]
 
 bc = ns_solver.BoundaryConditions
 
tuple time = model.create_time()
 
float final_end_time = 0.5
 
float save_interval = 0.5
 
int current_end_time = 0
 
int iteration = 0
 
Send comments to:
COOLFluiD Web Admin