CFD Online Logo CFD Online URL
Home > Forums

.bashrc OpenFOAM specific settings: from the OpenFOAM workshop

Register Blogs Members List Search Today's Posts Mark Forums Read

Rate this Entry

.bashrc OpenFOAM specific settings: from the OpenFOAM workshop

Posted July 5, 2011 at 00:50 by elvis

## OpenFOAM specific settings:
# because of bug:
export PYTHONPATH=/usr/lib/paraview:${PYTHONPATH}

export CSF_GraphicShr=/usr/lib/

# unsetting FOAM_INST_DIR and the other vars are necessary for a complete switch of the versions
alias startOF16ext='unset FOAM_INST_DIR;unset WM_PROJECT_USER_DIR;unset WM_THIRD_PARTY_DIR;source /usr/lib/OpenFOAM-1.6-ext/etc/bashrc'
alias startOF16extDbg='unset FOAM_INST_DIR;unset WM_PROJECT_USER_DIR;unset WM_THIRD_PARTY_DIR;export WM_COMPILE_OPTION=Debug;source /usr/lib/OpenFOAM-1.6-ext-dbg/etc/bashrc;export FOAM_TUTORIALS=/usr/share/doc/openfoam-1.6-ext/examples;source $WM_PROJECT_DIR/etc/'
alias startOF171='unset FOAM_INST_DIR;unset WM_PROJECT_USER_DIR;unset WM_THIRD_PARTY_DIR;source /opt/openfoam171/etc/bashrc'

alias startOF16extWS='startOF16ext;export FOAM_TUTORIALS=/usr/share/doc/openfoam-1.6-ext/examples; source $WM_PROJECT_DIR/etc/'

# source the OpenFOAM aliases (src, tut, sol, ...)
# source $WM_PROJECT_DIR/etc/

# create $FOAM_RUN firectory
mkdir -p $FOAM_RUN
Posted in Uncategorized
Views 2990 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0



All times are GMT -4. The time now is 11:08.