While trying to implement a lo
While trying to implement a low-storage solver I want to reuse variables. How does one turn off the dimensional checking in OpenFoam?
|
You can switch off the checkin
You can switch off the checking at run-time by setting
dimensionSet 0; in OpenFOAM-1.1/.OpenFOAM-1.1/controlDict. |
Or maybe you can reset the dim
Or maybe you can reset the dimensions() on the volXXXFields to the correct type. (see GeometricField.H, dimensions() gives non-const access)
|
I also tried to switch off the dimension checking, but the folder .OpenFOAM-1.1 does not exist at the location OpenFOAM-1.1. Am I searching at the wrong position? (ps: I recognized that it is a hidden folder)
Thanks |
Quote:
If you are using OpenFOAM-1.5 (or later), you should use the ~/.OpenFOAM/ or ~/.OpenFOAM/1.5/ directories. The later is generally better for controlDict, since it might change in incompatible ways between versions. Note that with OpenFOAM-1.6, you can also use the command Code:
$ foamEtcFile -list And the command Code:
$ foamEtcFile controlDict See "foamEtcFile -help" for more information. |
Dear everybody,
If OpenFOAM is installed at opt directory, is it not possible to edit the file controlDict due to permission problems. Is there other way to change permissions? |
You can copy the controlDict from /opt/openfoam230/etc/ to $HOME/.OpenFOAM/2.3.0/, which will override the settings in /opt.
|
to use the dimensionless N-S equations in OpenFOAM
1 Attachment(s)
Quote:
I have copied the controlDict according to your suggestion. But there is still a problem as in the attchment. Could you help to check? Thank you in advance. Best Regards, Bill |
All times are GMT -4. The time now is 21:12. |