|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
#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' | |
Definition at line 138 of file flow_ibm.hpp.
|
inline |
Definition at line 150 of file flow_ibm.hpp.
References hRef.
|
inline |
Definition at line 151 of file flow_ibm.hpp.
References hRef.
|
inline |
Definition at line 152 of file flow_ibm.hpp.
|
inline |
Definition at line 153 of file flow_ibm.hpp.
|
inline |
Definition at line 154 of file flow_ibm.hpp.
References tRef.
|
inline |
Definition at line 155 of file flow_ibm.hpp.
References rhoRef.
|
inline |
Definition at line 156 of file flow_ibm.hpp.
|
inline |
Definition at line 157 of file flow_ibm.hpp.
|
inline |
Definition at line 158 of file flow_ibm.hpp.
|
inline |
Definition at line 159 of file flow_ibm.hpp.
|
inline |
Definition at line 160 of file flow_ibm.hpp.
|
inline |
Definition at line 161 of file flow_ibm.hpp.
References hRef.
|
inline |
Definition at line 162 of file flow_ibm.hpp.
References tRef.
|
inline |
Definition at line 163 of file flow_ibm.hpp.
References tRef.
|
inline |
Definition at line 164 of file flow_ibm.hpp.
References tRef.
|
inline |
Definition at line 167 of file flow_ibm.hpp.
References hRef, rhoRef, and tRef.
Referenced by torqueToPhys().
|
inline |
Definition at line 171 of file flow_ibm.hpp.
References forceTotalToPhys(), and hRef.
|
inline |
Definition at line 191 of file flow_ibm.hpp.
References hp.
|
inline |
Definition at line 209 of file flow_ibm.hpp.
|
inline |
Definition at line 210 of file flow_ibm.hpp.
|
inline |
Definition at line 211 of file flow_ibm.hpp.
|
inline |
Definition at line 212 of file flow_ibm.hpp.
|
inline |
Definition at line 213 of file flow_ibm.hpp.
|
inline |
Definition at line 217 of file flow_ibm.hpp.
|
inline |
Definition at line 218 of file flow_ibm.hpp.
|
inline |
Definition at line 219 of file flow_ibm.hpp.
References tRef.
|
inline |
Definition at line 220 of file flow_ibm.hpp.
References hRef.
|
inline |
|
inline |
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.
Definition at line 224 of file flow_ibm.hpp.
References hRef, rhoRef, tRef, and volToPhys().
Referenced by powerToPhys().
|
inline |
Definition at line 225 of file flow_ibm.hpp.
References energyToPhys(), and tRef.
|
inline |
Definition at line 231 of file flow_ibm.hpp.
|
inline |
Definition at line 235 of file flow_ibm.hpp.
| bool peclet::flow::Solver< Grid >::UnitScales::physical = false |
an extent was given (the scales are armed)
Definition at line 139 of file flow_ibm.hpp.
| double peclet::flow::Solver< Grid >::UnitScales::h[3] = {1.0, 1.0, 1.0} |
cell size per axis = extent / cells
Definition at line 140 of file flow_ibm.hpp.
Referenced by advect.Ann::__init__(), conj.Geo2::__init__(), conj_peters.Box::__init__(), gsv1.PCase::build(), mac2dc.CircleCase::cell_frac(), steady_acceleration_gates.Case::dt(), gsv1.Case::face_avg(), mac2d.Case::face_avg(), mac2dc.CircleCase::face_avg(), mac2dc.CircleGeo::fit_nt(), forceToInt(), mac2d.Case::frac_cell(), mac2d.Case::frac_line(), mac2dc.CircleGeo::mid_frac(), mac2dc.PlanarGeo::mid_frac(), mac2dc.CircleGeo::node_frac(), mac2dc.PlanarGeo::node_frac(), mac2dc.PlanarGeo::owner(), packing2d.Cell::pos(), mac2dc.CircleCase::row_force(), velToInt(), and velToPhys().
| double peclet::flow::Solver< Grid >::UnitScales::org[3] = {0.0, 0.0, 0.0} |
physical lower corner of the GLOBAL inner grid
Definition at line 141 of file flow_ibm.hpp.
| double peclet::flow::Solver< Grid >::UnitScales::ext[3] = {0.0, 0.0, 0.0} |
physical extent of the GLOBAL inner grid
Definition at line 142 of file flow_ibm.hpp.
Referenced by gsv1.Case::face_avg().
| long peclet::flow::Solver< Grid >::UnitScales::cells[3] = {0, 0, 0} |
the GLOBAL cell counts the extent spans
Definition at line 143 of file flow_ibm.hpp.
| double peclet::flow::Solver< Grid >::UnitScales::hRef = 1.0 |
reference length = min_a h_a (== h_a, Phase 1)
Definition at line 144 of file flow_ibm.hpp.
Referenced by areaToPhys(), condToInt(), curvToPhys(), diffToInt(), energyToPhys(), forceTotalToPhys(), latentToInt(), lenToInt(), lenToPhys(), mdotToInt(), mdotToPhys(), muToInt(), pToInt(), pToPhys(), rcpToInt(), resistToInt(), rintToInt(), sigmaToInt(), speedToInt(), torqueToPhys(), and volToPhys().
| double peclet::flow::Solver< Grid >::UnitScales::rhoRef = 1.0 |
reference density = the first set_rho
Definition at line 145 of file flow_ibm.hpp.
Referenced by condToInt(), energyToPhys(), forceToInt(), forceTotalToPhys(), mdotToInt(), mdotToPhys(), muToInt(), pToInt(), pToPhys(), rcpToInt(), rhoToInt(), rintToInt(), and sigmaToInt().
| double peclet::flow::Solver< Grid >::UnitScales::tRef = 1.0 |
reference time = the first set_dt
Definition at line 146 of file flow_ibm.hpp.
Referenced by angVelToInt(), condToInt(), diffToInt(), divToInt(), divToPhys(), energyToPhys(), forceToInt(), forceTotalToPhys(), latentToInt(), mdotToInt(), mdotToPhys(), muToInt(), powerToPhys(), pToInt(), pToPhys(), rcpToInt(), resistToInt(), rintToInt(), sigmaToInt(), speedToInt(), timeToInt(), timeToPhys(), velToInt(), and velToPhys().
| bool peclet::flow::Solver< Grid >::UnitScales::rhoRefSet = false |
Definition at line 147 of file flow_ibm.hpp.
| bool peclet::flow::Solver< Grid >::UnitScales::tRefSet = false |
Definition at line 147 of file flow_ibm.hpp.
| double peclet::flow::Solver< Grid >::UnitScales::hp[3] = {1.0, 1.0, 1.0} |
h_a' = h_a / hRef (>= 1, exactly 1 on the finest axis)
Definition at line 180 of file flow_ibm.hpp.
Referenced by vofMetric().
| double peclet::flow::Solver< Grid >::UnitScales::w[3] = {1.0, 1.0, 1.0} |
w_a = 1 / h_a'^2 (<= 1)
Definition at line 181 of file flow_ibm.hpp.
| double peclet::flow::Solver< Grid >::UnitScales::vol = 1.0 |
V' = h_x' h_y' h_z' (cell volume in hRef^3).
Definition at line 182 of file flow_ibm.hpp.
| bool peclet::flow::Solver< Grid >::UnitScales::aniso = false |
some h_a' != 1 — kernels dispatch the per-axis body
Definition at line 183 of file flow_ibm.hpp.
| double peclet::flow::Solver< Grid >::UnitScales::hpMax = 1.0 |
max_a h_a'
Definition at line 190 of file flow_ibm.hpp.