|
constexpr | RadiativeUnitConverter (int resolution, T latticeRelaxationTime, T physAbsorption, T physScattering, T anisotropyFactor=0, T charPhysLength=1, T refractiveMedia=1, T refractiveAmbient=1) |
| Documentation of constructor:
|
|
constexpr T | getPhysAbsorption () const |
|
constexpr T | getPhysScattering () const |
|
constexpr T | getAnisotropyFactor () const |
|
constexpr T | getExtinction () const |
|
constexpr T | getScatteringAlbedo () const |
|
constexpr T | getPhysDiffusion () const |
|
constexpr T | getEffectiveAttenuation () const |
|
constexpr T | getLatticeAbsorption () const |
|
constexpr T | getLatticeScattering () const |
|
constexpr T | getLatticeDiffusion () const |
|
constexpr T | getRefractiveRelative () const |
|
void | print () const override |
| nice terminal output for conversion factors, characteristical and physical data
|
|
void | print (std::ostream &fout) const |
|
void | write () const |
|
Public Member Functions inherited from olb::UnitConverterFromResolutionAndRelaxationTime< T, DESCRIPTOR > |
constexpr | UnitConverterFromResolutionAndRelaxationTime (size_t resolution, T latticeRelaxationTime, T charPhysLength, T charPhysVelocity, T physViscosity, T physDensity, T charPhysPressure=0) |
|
constexpr | UnitConverter (T physDeltaX, T physDeltaT, T charPhysLength, T charPhysVelocity, T physViscosity, T physDensity, T charPhysPressure=0) |
| Documentation of constructor:
|
|
virtual | ~UnitConverter ()=default |
|
constexpr int | getResolution () const |
| return resolution
|
|
constexpr T | getLatticeRelaxationTime () const |
| return relaxation time in lattice units
|
|
constexpr T | getLatticeRelaxationFrequency () const |
| return relaxation frequency in lattice units
|
|
template<typename DESCRIPTOR_ > |
constexpr T | getLatticeRelaxationFrequencyFromDiffusivity (const T physDiffusivity) const |
| return relaxation frequency in lattice units computed from given physical diffusivity in m^2 / s
|
|
constexpr T | getCharPhysLength () const |
| return characteristic length in physical units
|
|
constexpr T | getCharPhysVelocity () const |
| return characteristic velocity in physical units
|
|
constexpr T | getCharLatticeVelocity () const |
| return characteristic velocity in lattice units
|
|
constexpr T | getPhysViscosity () const |
| return viscosity in physical units
|
|
constexpr T | getPhysDensity () const |
| return density in physical units
|
|
constexpr T | getCharPhysPressure () const |
| return characteristic pressure in physical units
|
|
constexpr T | getReynoldsNumber () const |
| return Reynolds number
|
|
constexpr T | getMachNumber () const |
| return Mach number
|
|
constexpr T | getKnudsenNumber () const |
| return Knudsen number
|
|
constexpr T | getPhysLength (int latticeLength) const |
| conversion from lattice to physical length
|
|
constexpr int | getLatticeLength (T physLength) const |
| conversion from physical to lattice length, returns number of voxels for given physical length
|
|
constexpr T | getConversionFactorLength () const |
| access (read-only) to private member variable
|
|
constexpr T | getPhysDeltaX () const |
| returns grid spacing (voxel length) in m
|
|
constexpr T | getPhysTime (size_t latticeTime) const |
| conversion from lattice to physical time
|
|
constexpr size_t | getLatticeTime (T physTime) const |
| conversion from physical to lattice time
|
|
constexpr T | getConversionFactorTime () const |
| access (read-only) to private member variable
|
|
constexpr T | getPhysDeltaT () const |
| returns time spacing (timestep length) in s
|
|
constexpr T | getPhysVelocity (T latticeVelocity) const |
| conversion from lattice to physical velocity
|
|
constexpr T | getLatticeVelocity (T physVelocity) const |
| conversion from physical to lattice velocity
|
|
constexpr T | getConversionFactorVelocity () const |
| access (read-only) to private member variable
|
|
constexpr T | getPhysDensity (T latticeDensity) const |
| conversion from lattice to physical density
|
|
constexpr T | getLatticeDensity (T physDensity) const |
| conversion from physical to lattice density
|
|
constexpr T | getLatticeDensityFromPhysPressure (T physPressure) const |
|
constexpr T | getConversionFactorDensity () const |
| access (read-only) to private member variable
|
|
constexpr T | getPhysMass (T latticeMass) const |
| conversion from lattice to physical mass
|
|
constexpr T | getLatticeMass (T physMass) const |
| conversion from physical to lattice mass
|
|
constexpr T | getConversionFactorMass () const |
| access (read-only) to private member variable
|
|
constexpr T | getPhysViscosity (T latticeViscosity) const |
| conversion from lattice to physical viscosity
|
|
constexpr T | getLatticeViscosity () const |
| conversion from physical to lattice viscosity
|
|
constexpr T | getConversionFactorViscosity () const |
| access (read-only) to private member variable
|
|
constexpr T | getPhysForce (T latticeForce) const |
| conversion from lattice to physical force
|
|
constexpr T | getLatticeForce (T physForce) const |
| conversion from physical to lattice force
|
|
constexpr T | getConversionFactorForce () const |
| access (read-only) to private member variable
|
|
constexpr T | getPhysTorque (T latticeTorque) const |
| conversion from lattice to physical torque
|
|
constexpr T | getLatticeTorque (T physTorque) const |
| conversion from physical to lattice torque
|
|
constexpr T | getConversionFactorTorque () const |
| access (read-only) to private member variable
|
|
constexpr T | getPhysPressure (T latticePressure) const |
| conversion from lattice to physical pressure
|
|
constexpr T | getLatticePressure (T physPressure) const |
| conversion from physical to lattice pressure
|
|
constexpr T | getConversionFactorPressure () const |
| access (read-only) to private member variable
|
|
void | print (std::ostream &fout) const |
|
void | write (std::string const &fileName="unitConverter") const |
|
virtual | ~UnitConverterBase ()=default |
|
template<typename T, typename DESCRIPTOR>
class olb::RadiativeUnitConverter< T, DESCRIPTOR >
Conversion between physical and lattice units, as well as discretization.
Be aware of the nomenclature: We distingish between physical (dimensioned) and lattice (dimensionless) values. A specific conversion factor maps the two different scopes, e.g. physLength = conversionLength * latticeLength
Definition at line 75 of file radiativeUnitConverter.h.