mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
@ -182,7 +182,7 @@ Foam::functionObjects::hydrostaticPressure::hydrostaticPressure
|
||||
if (read(dict))
|
||||
{
|
||||
// Read and store the initial ph_rgh field
|
||||
volScalarField* ph_rghPtr =
|
||||
volScalarField* ptr =
|
||||
new volScalarField
|
||||
(
|
||||
IOobject
|
||||
@ -197,7 +197,7 @@ Foam::functionObjects::hydrostaticPressure::hydrostaticPressure
|
||||
mesh_
|
||||
);
|
||||
|
||||
regIOobject::store(ph_rghPtr);
|
||||
regIOobject::store(ptr);
|
||||
|
||||
bool reInitialise = dict.getOrDefault("reInitialise", false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user