COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
utest-solver-model.py
Go to the documentation of this file.
1 import coolfluid as cf
2 import sys
3 
4 root = cf.Core.root()
5 model = root.create_component('model', 'cf3.solver.Model')
6 
7 domain = model.create_domain()
8 solver = model.create_solver('cf3.solver.SimpleSolver')
9 phys_model = model.create_physics('cf3.physics.DynamicModel')
10 
11 if domain.name() != 'Domain':
12  raise Exception('Failed to create domain')
13 if solver.name() != 'SimpleSolver':
14  raise Exception('Failed to create solver')
15 if phys_model.name() != 'DynamicModel':
16  raise Exception('Failed to create physics')
Send comments to:
COOLFluiD Web Admin