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

Go to the source code of this file.

Namespaces

 atest-ufem-demo-all
 

Variables

int n = 10
 
tuple model = cf.Core.root()
 
tuple domain = model.create_domain()
 
tuple physics = model.create_physics('cf3.physics.DynamicModel')
 
tuple solver = model.create_solver('cf3.UFEM.Solver')
 
tuple poisson_solver = solver.add_direct_solver('cf3.UFEM.demo.'+modelname)
 
tuple mesh = domain.create_component('Mesh', 'cf3.mesh.Mesh')
 
tuple mesh_generator = domain.create_component("MeshGenerator","cf3.mesh.SimpleMeshGenerator")
 
tuple triangulator = domain.create_component('triangulator', 'cf3.mesh.MeshTriangulator')
 
tuple bc = poisson_solver.BoundaryConditions.add_function_bc(region_name = 'left', variable_name = 'u')
 
tuple ic_f = solver.InitialConditions.create_initial_condition(builder_name = 'cf3.UFEM.InitialConditionConstant', field_tag = 'source_term')
 
Send comments to:
COOLFluiD Web Admin