mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: porosityModels - now derived from regIOobject instead of meshObject
This commit is contained in:
@ -88,7 +88,17 @@ Foam::porosityModel::porosityModel
|
|||||||
const word& cellZoneName
|
const word& cellZoneName
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
MeshObject<fvMesh, Foam::UpdateableMeshObject, porosityModel>(mesh),
|
regIOobject
|
||||||
|
(
|
||||||
|
IOobject
|
||||||
|
(
|
||||||
|
name,
|
||||||
|
mesh.time().timeName(),
|
||||||
|
mesh,
|
||||||
|
IOobject::NO_READ,
|
||||||
|
IOobject::NO_WRITE
|
||||||
|
)
|
||||||
|
),
|
||||||
name_(name),
|
name_(name),
|
||||||
mesh_(mesh),
|
mesh_(mesh),
|
||||||
dict_(dict),
|
dict_(dict),
|
||||||
|
|||||||
@ -36,7 +36,6 @@ SourceFiles
|
|||||||
#ifndef porosityModel_H
|
#ifndef porosityModel_H
|
||||||
#define porosityModel_H
|
#define porosityModel_H
|
||||||
|
|
||||||
#include "MeshObject.H"
|
|
||||||
#include "fvMesh.H"
|
#include "fvMesh.H"
|
||||||
#include "dictionary.H"
|
#include "dictionary.H"
|
||||||
#include "fvMatricesFwd.H"
|
#include "fvMatricesFwd.H"
|
||||||
@ -56,7 +55,7 @@ namespace Foam
|
|||||||
|
|
||||||
class porosityModel
|
class porosityModel
|
||||||
:
|
:
|
||||||
public MeshObject<fvMesh, UpdateableMeshObject, porosityModel>
|
public regIOobject
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user