是的,在新版除了createFields.H没了,fvCFD.H都没了。变量都在class里面初始化,比如VoFSolver。H:
class VoFSolver : public fluidSolver { protected: // Phase properties //- The compressible two-phase mixture autoPtr<VoFMixture> mixturePtr_; VoFMixture& mixture_; //- Name of the alpha convection scheme const word divAlphaName; //- Phase-fraction flux Courant number scalar alphaCoNum; // Kinematic properties //- Velocity field volVectorField U_; //- Volumetric flux field surfaceScalarField phi_;OpenFOAM
OpenFOAM交流区
5.4k
主题
31.8k
帖子