flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
peclet::flow::Solver< Grid >::UnitScales Struct Reference

#include <flow_ibm.hpp>

Public Member Functions

double lenToInt () const
 
double lenToPhys () const
 
double velToInt (int a) const
 
double velToPhys (int a) const
 
double timeToInt () const
 
double rhoToInt () const
 
double muToInt () const
 
double pToInt () const
 
double pToPhys () const
 
double forceToInt (int a) const
 
double sigmaToInt () const
 
double curvToPhys () const
 
double divToPhys () const
 
double timeToPhys () const
 
double angVelToInt () const
 
double forceTotalToPhys () const
 
double torqueToPhys () const
 
vof::VofMetric vofMetric () const
 
double diffToInt () const
 
double mdotToInt () const
 
double mdotToPhys () const
 
double latentToInt () const
 
double condToInt () const
 
double rcpToInt () const
 
double rintToInt () const
 
double divToInt () const
 
double areaToPhys () const
 
double volToPhys () const
 
double energyToPhys () const
 An internal energy (rho c_p T summed over cells of volume hRef^3) to joules: the internal energy unit is rhoRef*hRef^5/tRef^2.
 
double powerToPhys () const
 
double speedToInt () const
 
double resistToInt () const
 

Public Attributes

bool physical = false
 an extent was given (the scales are armed)
 
double h [3] = {1.0, 1.0, 1.0}
 cell size per axis = extent / cells
 
double org [3] = {0.0, 0.0, 0.0}
 physical lower corner of the GLOBAL inner grid
 
double ext [3] = {0.0, 0.0, 0.0}
 physical extent of the GLOBAL inner grid
 
long cells [3] = {0, 0, 0}
 the GLOBAL cell counts the extent spans
 
double hRef = 1.0
 reference length = min_a h_a (== h_a, Phase 1)
 
double rhoRef = 1.0
 reference density = the first set_rho
 
double tRef = 1.0
 reference time = the first set_dt
 
bool rhoRefSet = false
 
bool tRefSet = false
 
double hp [3] = {1.0, 1.0, 1.0}
 h_a' = h_a / hRef (>= 1, exactly 1 on the finest axis)
 
double w [3] = {1.0, 1.0, 1.0}
 w_a = 1 / h_a'^2 (<= 1)
 
double vol = 1.0
 V' = h_x' h_y' h_z' (cell volume in hRef^3)
 
bool aniso = false
 some h_a' != 1 — kernels dispatch the per-axis body
 
double hpMax = 1.0
 max_a h_a'
 

Detailed Description

template<class Grid>
struct peclet::flow::Solver< Grid >::UnitScales

Definition at line 136 of file flow_ibm.hpp.

Member Function Documentation

◆ lenToInt()

◆ lenToPhys()

◆ velToInt()

◆ velToPhys()

◆ timeToInt()

◆ rhoToInt()

◆ muToInt()

◆ pToInt()

◆ pToPhys()

◆ forceToInt()

◆ sigmaToInt()

◆ curvToPhys()

◆ divToPhys()

◆ timeToPhys()

template<class Grid >
double peclet::flow::Solver< Grid >::UnitScales::timeToPhys ( ) const
inline

◆ angVelToInt()

template<class Grid >
double peclet::flow::Solver< Grid >::UnitScales::angVelToInt ( ) const
inline

◆ forceTotalToPhys()

◆ torqueToPhys()

◆ vofMetric()

◆ diffToInt()

◆ mdotToInt()

◆ mdotToPhys()

◆ latentToInt()

◆ condToInt()

◆ rcpToInt()

◆ rintToInt()

◆ divToInt()

◆ areaToPhys()

◆ volToPhys()

◆ energyToPhys()

template<class Grid >
double peclet::flow::Solver< Grid >::UnitScales::energyToPhys ( ) const
inline

◆ powerToPhys()

◆ speedToInt()

◆ resistToInt()

Member Data Documentation

◆ physical

◆ h

◆ org

◆ ext

template<class Grid >
double peclet::flow::Solver< Grid >::UnitScales::ext[3] = {0.0, 0.0, 0.0}

◆ cells

template<class Grid >
long peclet::flow::Solver< Grid >::UnitScales::cells[3] = {0, 0, 0}

◆ hRef

◆ rhoRef

◆ tRef

template<class Grid >
double peclet::flow::Solver< Grid >::UnitScales::tRef = 1.0

◆ rhoRefSet

template<class Grid >
bool peclet::flow::Solver< Grid >::UnitScales::rhoRefSet = false

◆ tRefSet

◆ hp

◆ w

◆ vol

◆ aniso

◆ hpMax

template<class Grid >
double peclet::flow::Solver< Grid >::UnitScales::hpMax = 1.0

max_a h_a'

Definition at line 188 of file flow_ibm.hpp.

Referenced by peclet::flow::Solver< Grid >::refreshUnitDerived().


The documentation for this struct was generated from the following file: