mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Changing zGround readind
This commit is contained in:
@ -95,7 +95,7 @@ atmBoundaryLayerInletVelocityFvPatchVectorField
|
|||||||
kappa_(dict.lookupOrDefault<scalar>("kappa", 0.41)),
|
kappa_(dict.lookupOrDefault<scalar>("kappa", 0.41)),
|
||||||
Uref_(readScalar(dict.lookup("Uref"))),
|
Uref_(readScalar(dict.lookup("Uref"))),
|
||||||
Href_(readScalar(dict.lookup("Href"))),
|
Href_(readScalar(dict.lookup("Href"))),
|
||||||
zGround_(readScalar(dict.lookup("zGround")))
|
zGround_("zGround", dict, p.size())
|
||||||
{
|
{
|
||||||
if (mag(n_) < SMALL || mag(z_) < SMALL || mag(z0_) < SMALL)
|
if (mag(n_) < SMALL || mag(z_) < SMALL || mag(z0_) < SMALL)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -113,7 +113,7 @@ class atmBoundaryLayerInletVelocityFvPatchVectorField
|
|||||||
const scalar Href_;
|
const scalar Href_;
|
||||||
|
|
||||||
//- Minimum corrdinate value in z direction
|
//- Minimum corrdinate value in z direction
|
||||||
const scalarField zGround_;
|
scalarField zGround_;
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user