CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
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: http://bugs.debian.org/576837
export PYTHONPATH=/usr/lib/paraview:${PYTHONPATH}

export CSF_GraphicShr=/usr/lib/libTKOpenGl-6.3.0.so

# 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/aliases.sh'
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/aliases.sh'

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

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

Comments

 

All times are GMT -4. The time now is 12:22.