Skip to content
Snippets Groups Projects
Commit 66f14841 authored by andy's avatar andy
Browse files

ENH: Updated pressure drop porosity after upstream porosity model changes

parent 3bd9426b
No related merge requests found
......@@ -52,7 +52,6 @@ Foam::porosityModels::pressureDrop::pressureDrop
)
:
porosityModel(name, modelType, mesh, dict, cellZoneName),
coordSys_(coeffs_, mesh),
mDotvsDp_(DataEntry<scalar>::New("mDotvsDp", coeffs_)),
lRef_(readScalar(coeffs_.lookup("lRef"))),
rhoName_(coeffs_.lookupOrDefault<word>("rho", "rho"))
......
......@@ -97,9 +97,6 @@ private:
// Private data
//- Local co-ordinate system
coordinateSystem coordSys_;
//- Pressure drop per unit length [Pa/m] as a function of
// mass flow rate [kg/s]
autoPtr<DataEntry<scalar> > mDotvsDp_;
......
......@@ -35,7 +35,7 @@ void Foam::porosityModels::pressureDrop::apply
) const
{
// local-to-global transformation tensor
const tensor& E = coordSys_.R();
const tensor& E = coordSys_.R().R();
forAll(cellZoneIds_, zoneI)
{
......@@ -67,7 +67,7 @@ void Foam::porosityModels::pressureDrop::apply
) const
{
// local-to-global transformation tensor
const tensor& E = coordSys_.R();
const tensor& E = coordSys_.R().R();
forAll(cellZoneIds_, zoneI)
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment