Package esys :: Package lsm :: Module LsmPy :: Class BuoyancyPrms
[hide private]
[frames] | no frames]

Class BuoyancyPrms

 object --+        
          |        
??.instance --+    
              |    
InteractionPrms --+
                  |
                 BuoyancyPrms

Parameters for describing simple buoyancy body forces.

Instance Methods [hide private]
 
__init__(...)
Simple Buoyancy-like body force applied to all (submerged) particles.
string
getName(...)
Returns: Name assigned to this group of interactions.

Inherited from InteractionPrms: __reduce__

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __instance_size__ = 96
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Simple Buoyancy-like body force applied to all (submerged) particles.

Parameters:
  • name (string) - name of this interaction.
  • acceleration (Vec3) - Acceleration vector (magnitude and direction).
  • fluidDensity (float) - density of the fluid.
  • fluidHeight (float) - height of the fluid in direction of buoyancy force.
Overrides: object.__init__

getName(...)

 
Returns: string
Name assigned to this group of interactions.