chrono::fsi::ChFsiProblem::ParticlePropertiesCallback Class Reference

Description

Interface for callback to set initial particle pressure, density, viscosity, and velocity.

#include <ChFsiProblem.h>

Inheritance diagram for chrono::fsi::ChFsiProblem::ParticlePropertiesCallback:
Collaboration diagram for chrono::fsi::ChFsiProblem::ParticlePropertiesCallback:

Public Member Functions

 ParticlePropertiesCallback (const ChSystemFsi &sysFSI)
 
 ParticlePropertiesCallback (const ParticlePropertiesCallback &other)=default
 
virtual void set (const ChVector3d &pos)
 Set values for particle properties. More...
 

Public Attributes

const ChSystemFsisysFSI
 
double p0
 
double rho0
 
double mu0
 
ChVector3d v0
 

Member Function Documentation

◆ set()

virtual void chrono::fsi::ChFsiProblem::ParticlePropertiesCallback::set ( const ChVector3d pos)
inlinevirtual

Set values for particle properties.

The default implementation sets pressure and velocity to zero and constant density and viscosity. If an override is provided, it must set all particle properties.

Reimplemented in chrono::fsi::DepthPressurePropertiesCallback.


The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_fsi/ChFsiProblem.h