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

Go to the source code of this file.

Namespaces

 atest-ufem-particles-polydisperse-uniform
 

Variables

tuple env = cf.Core.environment()
 
int nu = 1
 
float dt = 0.001
 
int numsteps = 200
 
int write_interval = 50
 
tuple model = cf.Core.root()
 
tuple domain = model.create_domain()
 
tuple physics = model.create_physics('cf3.UFEM.NavierStokesPhysics')
 
tuple solver = model.create_solver('cf3.UFEM.Solver')
 
tuple polydisp = solver.add_unsteady_solver('cf3.UFEM.particles.Polydisperse')
 
tuple mesh = domain.create_component('Mesh', 'cf3.mesh.Mesh')
 
tuple mesh_generator = domain.create_component("mesh_generator","cf3.mesh.SimpleMeshGenerator")
 
tuple series_writer = solver.TimeLoop.create_component('TimeWriter', 'cf3.solver.actions.TimeSeriesWriter')
 
tuple writer = series_writer.create_component('Writer', 'cf3.mesh.VTKXML.Writer')
 
tuple time = model.create_time()
 
tuple c0 = np.array(mesh.geometry.particle_concentration_0)
 
tuple c1 = np.array(mesh.geometry.particle_concentration_1)
 
tuple zeta0 = np.array(mesh.geometry.weighted_particle_volume_0)
 
tuple zeta1 = np.array(mesh.geometry.weighted_particle_volume_1)
 
Send comments to:
COOLFluiD Web Admin