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

Go to the source code of this file.

Namespaces

 utest-solver-actions-nodevalence
 

Variables

tuple env = cf.Core.environment()
 
tuple root = cf.Core.root()
 
tuple domain = root.create_component('Domain', 'cf3.mesh.Domain')
 
tuple mesh = domain.create_component('OriginalMesh','cf3.mesh.Mesh')
 
tuple blocks = root.create_component('model', '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 valfield = mesh.geometry.create_field(name = 'node_valence', variables='Valence[scalar]')
 
tuple valence = domain.create_component('Valences', 'cf3.solver.actions.NodeValence')
 
tuple copyfd = mesh.geometry.create_field(name = 'copy_node_valence', variables='copy_Valence[scalar]')
 
tuple copier = domain.create_component('Copier', 'cf3.solver.actions.CopyScalar')
 
tuple writer = domain.create_component('PVWriter', 'cf3.mesh.VTKXML.Writer')
 
Send comments to:
COOLFluiD Web Admin