|
[Sponsors] |
July 26, 2010, 10:07 |
Temperature with adapted solver
|
#1 |
New Member
Robyn
Join Date: Jun 2010
Posts: 14
Rep Power: 15 |
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 |
|
July 26, 2010, 15:51 |
|
#2 |
New Member
Ricardo Flatschart
Join Date: Apr 2010
Posts: 12
Rep Power: 15 |
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 |
|
July 27, 2010, 06:56 |
|
#3 |
New Member
Robyn
Join Date: Jun 2010
Posts: 14
Rep Power: 15 |
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? |
|
July 27, 2010, 09:32 |
|
#4 |
New Member
Ricardo Flatschart
Join Date: Apr 2010
Posts: 12
Rep Power: 15 |
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. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with zeroGradient wall BC for temperature - Total temperature loss | cboss | OpenFOAM | 12 | October 1, 2018 07:36 |
Conjugate heat transfer: coupled wall temperature | Sarah | FLUENT | 7 | August 12, 2013 23:36 |
divergence detected in AMG solver: temperature | zambroa | FLUENT | 4 | September 11, 2009 11:06 |
monitoring point of total temperature | rogbrito | FLUENT | 0 | June 21, 2009 18:31 |
Divergencr in AMG solver: temperature | shashikant | FLUENT | 1 | July 10, 2006 13:38 |