mantaflow
0.10
A framework for fluid simulation
|
Functions | |
void | Manta::KnAddForceField (FlagGrid &flags, MACGrid &vel, Grid< Vec3 > &force) |
void | Manta::KnAddForce (FlagGrid &flags, MACGrid &vel, Vec3 force) |
PYTHON void | Manta::addGravity (FlagGrid &flags, MACGrid &vel, Vec3 gravity) |
PYTHON void | Manta::addGravityNoScale (FlagGrid &flags, MACGrid &vel, const Vec3 &gravity) |
void | Manta::KnAddBuoyancy (FlagGrid &flags, Grid< Real > &factor, MACGrid &vel, Vec3 strength) |
PYTHON void | Manta::addBuoyancy (FlagGrid &flags, Grid< Real > &density, MACGrid &vel, Vec3 gravity, Real coefficient=1.) |
void | Manta::convertDescToVec (const string &desc, Vector3D< bool > &lo, Vector3D< bool > &up) |
helper to parse openbounds string [xXyYzZ] , convert to vec3 | |
PYTHON void | Manta::setOpenBound (FlagGrid &flags, int bWidth, string openBound="", int type=FlagGrid::TypeOutflow|FlagGrid::TypeEmpty) |
PYTHON void | Manta::resetOutflow (FlagGrid &flags, Grid< Real > *phi=0, BasicParticleSystem *parts=0, Grid< Real > *real=0, Grid< int > *index=0, ParticleIndexSystem *indexSys=0) |
void | Manta::KnSetInflow (MACGrid &vel, int dim, int p0, const Vec3 &val) |
PYTHON void | Manta::setInflowBcs (MACGrid &vel, string dir, Vec3 value) |
void | Manta::KnSetWallBcs (FlagGrid &flags, MACGrid &vel) |
void | Manta::KnSetWallBcsFrac (FlagGrid &flags, MACGrid &vel, MACGrid &velTarget, Grid< Real > *phiObs, const int &boundaryWidth=0) |
PYTHON void | Manta::setWallBcs (FlagGrid &flags, MACGrid &vel, MACGrid *fractions=0, Grid< Real > *phiObs=0, int boundaryWidth=0) |
set zero normal velocity boundary condition on walls More... | |
void | Manta::KnSetObstacleVelocity (FlagGrid &flags, MACGrid &vel, Grid< Vec3 > &obsvel, int borderWidth) |
PYTHON void | Manta::setObstacleVelocity (FlagGrid &flags, MACGrid &vel, Grid< Vec3 > &obsvel, int borderWidth=0) |
void | Manta::KnConfForce (Grid< Vec3 > &force, const Grid< Real > &grid, const Grid< Vec3 > &curl, Real str) |
PYTHON void | Manta::vorticityConfinement (MACGrid &vel, FlagGrid &flags, Real strength) |
PYTHON void | Manta::addForceField (FlagGrid &flags, MACGrid &vel, Grid< Vec3 > &force) |