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

Go to the source code of this file.

Namespaces

 atest-ufem-particles-polydisperse-brownian
 

Variables

tuple env = cf.Core.environment()
 
float nu = 1.7894e-5
 
int ref_vol = 1
 
float dt = 0.01
 
int numsteps = 10
 
int write_interval = 500
 
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