CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   fvOptions MRF error (https://www.cfd-online.com/Forums/openfoam/173176-fvoptions-mrf-error.html)

vijaykamesh June 15, 2016 04:32

fvOptions MRF error
 
Hello,

I'm doing simulation for tidal turbine in ansys and openFoam. I completed simulation in ansys and now doing in openfoam. Im new to openfoam so i'm following the tutorials. I converted icem mesh to openfoam which have two domains stator and rotor. I want to use MRF modeling for rotor domain. I'm using simpleFoam solver with fvOptions of MRF modeling but i got the error,
Error message.
No MRF models present

Creating finite volume options from "system/fvOptions"

Selecting finite volume options model type MRFSource


--> FOAM FATAL ERROR:
Unknown Model type MRFSource

Valid model types are:

30
(
actuationDiskSource
constantHeatTransfer
effectivenessHeatExchangerSource
explicitPorositySource
fixedTemperatureConstraint
interRegionExplicitPorositySource
limitTemperature
meanVelocityForce
patchMeanVelocityForce
radialActuationDiskSource
rotorDisk
scalarCodedSource
scalarExplicitSetValue
scalarSemiImplicitSource
solidificationMeltingSource
sphericalTensorCodedSource
sphericalTensorExplicitSetValue
sphericalTensorSemiImplicitSource
symmTensorCodedSource
symmTensorExplicitSetValue
symmTensorSemiImplicitSource
tabulatedAccelerationSource
tabulatedHeatTransfer
tensorCodedSource
tensorExplicitSetValue
tensorSemiImplicitSource
variableHeatTransfer
vectorCodedSource
vectorExplicitSetValue
vectorSemiImplicitSource
)


From function option::New(const word&, const dictionary&, const fvMesh&)
in file fvOption/fvOption.C at line 86.

FOAM exiting

I dont know how to fix this. I search it in this forum but couldn't get proper solution for this. Please help me to fix this problem.

fvOptions file is,
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

MRF1
{
type MRFSource;
active true;
selectionMode cellZone;
cellZone Rotor_cells_zone;

MRFSourceCoeffs
{
nonRotatingPatches (AMI_ROTOR_DOMAIN_INLET AMI_ROTOR_DOMAIN_OUTLET ROTOR_DOMAIN_PERIODIC1 ROTOR_DOMAIN_PERIODIC2 AMI_ROTOR_DOMAIN_SHROUD ROTOR_DOMAIN_HUB);
attachedPatches (ROTOR_DOMAIN_BLADE_SRF ROTOR_DOMAIN_BLADE_TIP);
active true;
origin (0 0 0);
axis (1 0 0);
omega -60 ; // in rad per second --> n * 2pi/s
}
}


// ************************************************** *********************** //

romainRH July 28, 2016 09:37

Hi,

Have you solved your problem ?
Which version of OF are you using, in the last one you should use constant/MFRProperties instead of system/fvOption to set the MRF.

Also I have run some computation on marine propeller, and I have a scaling on pressure (not only rho). Do you have such problem too ?

Regards,

rhu


All times are GMT -4. The time now is 00:43.