Temperature with adapted solver
Hello All,
I would like to adapt simpleFoam solver and add temperature/ heat flux capabilities to a case. I tried to use the step by step process found on wiki but it doesn't quite work out for me because the $FOAM_USER_APPBIN directory does not exist. Could this have been a problem in my installation? How could I fix it? robyn@linux-4ifd:~/OpenFOAM/OpenFOAM-1.6/applications/solvers/incompressible> cd $FOAM_USER_APPBIN bash: cd: /home/robyn/OpenFOAM/robyn-1.6/applications/bin/linuxGccDPOpt: No such file or directory Any thoughts on adapting/creating your own solvers? How can you do that? Thanks in advance for any advice. Robyn |
Robyn,
You just need to create this directory structure, and after that follow the procedures on the wikki. cd $WM_PROJECT_USER_DIR mkdir applications mkdir applications/bin mkdir applications/bin/linuxGccDPOpt Good luck Ricardo |
Thank you for the response however I'm not sure that the unpacking of OpenFoam was correct as I only have the run directory under my user.
Should the directories you named also contain similar files as OpenFOAM-1.6? |
You can check if your installation is ok by issuing the following command:
foamInstallationTest At least, the "Critical" items must be tagged as "Valid". Here is a sample output. I am using 1.7.x, but the output in your case should be similar. Executing /home/l01291/OpenFOAM/OpenFOAM-1.7.x/bin/foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: stokes OS: Linux version 2.6.32-22-generic ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/l01291/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/l01291/OpenFOAM/l01291-1.7.x yes no $WM_THIRD_PARTY_DIR /home/l01291/OpenFOAM/ThirdParty-1.7.x yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /home/l01291/OpenFOAM/OpenFOAM-1.7.x yes yes yes $FOAM_APPBIN ...1.7.x/applications/bin/linuxGccDPOpt yes yes yes $FOAM_SITE_APPBIN ...penFOAM/site/1.7.x/bin/linuxGccDPOpt no no $FOAM_USER_APPBIN ...1.7.x/applications/bin/linuxGccDPOpt yes yes no $WM_DIR ...l01291/OpenFOAM/OpenFOAM-1.7.x/wmake yes yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN ...OAM/OpenFOAM-1.7.x/lib/linuxGccDPOpt yes yes yes $FOAM_SITE_LIBBIN ...penFOAM/site/1.7.x/lib/linuxGccDPOpt no no $FOAM_USER_LIBBIN ...nFOAM/l01291-1.7.x/lib/linuxGccDPOpt yes yes no $MPI_ARCH_PATH ...7.x/platforms/linuxGcc/openmpi-1.4.1 yes yes yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- gcc 4.4.3 /usr/bin/gcc gzip 1.3.12 /bin/gzip tar 1.22 /bin/tar icoFoam 1.7.x .../OpenFOAM-1.7.x/applications/bin/linuxGccDPOpt/icoFoam ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. Critical systems ok. done. |
All times are GMT -4. The time now is 04:27. |