COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
utest-mesh-generateplane3d.py
Go to the documentation of this file.
1 import coolfluid as cf
2 
3 cf.env.log_level = 4
4 cf.env.assertion_throws = False
5 
6 domain = cf.root.create_component('Domain', 'cf3.mesh.Domain')
7 generator = domain.create_component('Generator', 'cf3.mesh.GeneratePlane3D')
8 mesh = domain.create_component('Mesh', 'cf3.mesh.Mesh')
9 
10 
11 generator.mesh = mesh.uri()
12 generator.origin = [1., 2., 3.]
13 generator.normal = [1., 1., 1.]
14 generator.size = [2., 5.]
15 generator.segments = [4, 7]
16 generator.execute()
17 
18 domain.write_mesh(cf.URI('plane3d.msh'))
Send comments to:
COOLFluiD Web Admin