Why do I only see 2 models when I'm using simpleFOAM
I want to apply powerLaw model with simpleFOAM, but it shows the following error:
--> FOAM FATAL ERROR: Unknown viscosity model powerLaw Valid viscosity models are : 2 ( Newtonian constant ) From function static Foam::autoPtr<Foam::viscosityModel> Foam::viscosityModel::New(const Foam::fvMesh&, const Foam::word&) in file viscosityModels/viscosityModel/viscosityModelNew.C at line 58. How do I include the powerLaw model? Thank you |
Hi Zhibo,
Can you provide more details on which version of FOAM u r using. Also, this maybe just a small typing error. A quick check would be the age old "banana" trick. Just replace/mis-spell the existing model name (Newtonian in this example) and you should be able to see something similar to what is shown below Code:
Unknown viscosityModel type Newto |
Thank you! The problem has been solved! It's because I use OpenFOAM10 but the example I followed is based on earlier versions. These non-Newtonian models have been moved to other places.
|
All times are GMT -4. The time now is 11:46. |