CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Temperature with adapted solver

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 26, 2010, 10:07
Default Temperature with adapted solver
  #1
New Member
 
Robyn
Join Date: Jun 2010
Posts: 14
Rep Power: 6
robyn is on a distinguished road
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 is offline   Reply With Quote

Old   July 26, 2010, 15:51
Default
  #2
New Member
 
Ricardo Flatschart
Join Date: Apr 2010
Posts: 12
Rep Power: 6
rflats is on a distinguished road
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
rflats is offline   Reply With Quote

Old   July 27, 2010, 06:56
Default
  #3
New Member
 
Robyn
Join Date: Jun 2010
Posts: 14
Rep Power: 6
robyn is on a distinguished road
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?
robyn is offline   Reply With Quote

Old   July 27, 2010, 09:32
Default
  #4
New Member
 
Ricardo Flatschart
Join Date: Apr 2010
Posts: 12
Rep Power: 6
rflats is on a distinguished road
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.
rflats is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conjugate heat transfer: coupled wall temperature Sarah FLUENT 7 August 12, 2013 23:36
Problem with zeroGradient wall BC for temperature - Total temperature loss cboss OpenFOAM 9 January 28, 2013 14:11
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


All times are GMT -4. The time now is 15:20.