Previous: OpenFOAM Executables (Binaries) Up: OpenFOAM Structure Next: System Variables and Aliases

This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.

OpenFOAM User Directory

  • Each OpenFOAM user has his own working directory for running his projects
  • The path to user working directory is behind system variable:
  • Typically: WM_PROJECT_USER_DIR=$HOME/OpenFOAM/{USER}-dev
  • You can test where exactly your working directory is located in your computer, type:
  • User directory is connected to the current OpenFOAM installation via system variables
  • User directory is usually being used for running simulations, storing CFD data, code modifications, etc. …
  • User’s own modifications do not affect the current OpenFOAM installation, user’s modifications take the effect just for himself
  • It is useful to create the same structure in the user directory as it is in directory $WM_PROJECT_DIR
  • Following table shows selected system variables and aliases connected with user directory
${user}-devWM_PROJECT_USER_DIR User directory
$ \displaystyle{^\llcorner}$ platforms   
     $ \displaystyle{^\llcorner}$ platformName   
         $ \displaystyle{^\llcorner}$ binFOAM_USER_APPBIN User applications
         $ \displaystyle{^\llcorner}$ libFOAM_USER_LIBBIN User libraries
$ \displaystyle{^\llcorner}$ runFOAM_RUNrunUser projects



Kaplan Turbine Tutorial, original model

turbo blade post cfd kaplan wheel pressure

Figure: Turbo Blade Post; Kaplan Turbine Tutorial; The original model mesh – a wheel region. Colored by pressure; OpenFOAM Water Turbine CFD


The widely used boundary condition for $ \color{white} \omega$ in rotating machinery inlet is turbulentMixingLengthDissipationRateInlet. omega:
        type            compressible::turbulentMixingLengthDissipationRateInlet;
        mixingLength    0.1;
        phi             phi;
        k               k;
        value           $internalField;
For internal flows the parameter mixingLength is recommended to be equal to hydrostatic diameter of the pipe.