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

Integrated conjugate heat transfer solver in OpenFOAM

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

Like Tree4Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   June 19, 2008, 05:36
Default Yeah!! Thanx Bernhard! I will
  #101
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 186
Rep Power: 8
mabinty is on a distinguished road
Yeah!! Thanx Bernhard! I will try and report.

Mabinty
mabinty is offline   Reply With Quote

Old   June 19, 2008, 05:58
Default Try http://openfoam-extend.
  #102
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
Try

http://openfoam-extend.svn.sourceforge.net/viewvc/openfoam-extend/trunk/Core/Ope nFOAM-1.4.1-dev/applications/solvers/conjugate/conjugateHeatFoam/


Enjoy,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   June 19, 2008, 06:25
Default Thank you very much for the li
  #103
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 186
Rep Power: 8
mabinty is on a distinguished road
Thank you very much for the links!! As I m lets say a beginner in OF, I still have no idea how to install the new solver but I will investigate and try!!

Thanx again!!

Mabinty
mabinty is offline   Reply With Quote

Old   June 20, 2008, 05:31
Default Dear all! I investigated an
  #104
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 186
Rep Power: 8
mabinty is on a distinguished road
Dear all!

I investigated and tried ... I copied the files provided by the last link from Hrv to appropriate directories and followed the openfoam wiki "How to add a new solver to FoamX". Unfortunately FoamX "cannot find host ../conjugateHeatFoam/ in name service". Can anybody give me a hint how to install this solver properly?

Thanks in advance!!

Mabinty
mabinty is offline   Reply With Quote

Old   June 20, 2008, 13:10
Default Dear all I just downloaded
  #105
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 90
Rep Power: 8
srinath is on a distinguished road
Dear all

I just downloaded the conjugate heat transfer solver. Haven't got it to compile yet.

I am just looking at the code, and wondering if it can be modified to do something like flow on both sides of the solid.(Think heat exchanger), the 2 fluids are not in direct contact with each other.

Thanks
Srinath
srinath is offline   Reply With Quote

Old   June 20, 2008, 15:05
Default Sure, no problem - you can hav
  #106
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
Sure, no problem - you can have one fluids region (wih as many bits as you like, one solid region (again, in bits if you wish) and as many interfaces as you want.

If you'd like to have multiple solids and fluids for whatever reason, please let me know.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   June 20, 2008, 21:16
Default Thanks Professor Jasak What
  #107
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 90
Rep Power: 8
srinath is on a distinguished road
Thanks Professor Jasak

What if the constitutive relations change for the 2 fluids on either side of the solid?
For example suppose there is supersonic flow, outside an engine and reactive multiphase flow inside the engine.

How would i modify the conjugate heat transfer solver for that?
I guess 'dt' determination is now a headache as there are 2 vastly different flow regimes, on either side of the solid.
I am just starting to learn OpenFoam and i thought that would be a good excercise for me to code and learn more.

Thanks
Srinath
srinath is offline   Reply With Quote

Old   June 21, 2008, 03:14
Default Hello I am having some svn
  #108
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 90
Rep Power: 8
srinath is on a distinguished road
Hello

I am having some svn issues with the dev version. Some directories don't get copied with svn.

I type
svn co https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/O penFOAM-1.4-dev
and it seems to download a lot of the development version.
But unfortunatley it didn't download the conjugate directory, which i downloaded manually.
Then i find in the make file, that a coupledfvMatrix is required and i find that the source for that too isn't downloaded.

If i say

srinath@dell:~$ svn co http://openfoam-extend.svn.sourceforge.net/viewvc/openfoam-extend/trunk/Core/Ope nFOAM-1.4.1-dev/applications/solvers/conjugate/conjugateHeatFoam/

i get the output,

svn: PROPFIND request failed on '/viewvc/openfoam-extend/trunk/Core/OpenFOAM-1.4.1-dev/applications/solvers/conj ugate/conjugateHeatFoam'
svn: PROPFIND of '/viewvc/openfoam-extend/trunk/Core/OpenFOAM-1.4.1-dev/applications/solvers/conj ugate/conjugateHeatFoam': 301 Moved (http://openfoam-extend.svn.sourceforge.net)


Can someone help me? Am i doing something wrong or is it a bug with the repository?

Regards
Srinath
srinath is offline   Reply With Quote

Old   June 26, 2008, 08:40
Default Hello Srinath, Not too hard
  #109
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
Hello Srinath,

Not too hard: simply make a 3-region conjugate heat transfer solver and now you can have 3 different sets of equations separately.

The SVN link I can see from here is:

CHT

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   August 4, 2008, 15:43
Default Hey you said if we were using
  #110
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 450
Rep Power: 15
linnemann will become famous soon enough
Hey you said if we were using multiple solids or fluids too let you know :-).

Well it so happens that what I want to be using it for is simulating a thermal interface between cooper and aluminium and a fluid flow over some copper fins.

Also if you have any hints on a way to implement a 1D (know the equations but not the implementation) equations that will take into account a thermal paste between the two solids.

Many thanks for the present model really appreciate your work.
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   September 11, 2008, 01:09
Default Hi all I am trying to use t
  #111
New Member
 
Niranjan Ghaisas
Join Date: Mar 2009
Location: Pune, Maharashtra, India
Posts: 10
Rep Power: 8
nsghaisas is on a distinguished road
Hi all

I am trying to use the conjugateHeatFoam solver. I am facing the same problem as Srinath. Some files and directories do not get downloaded with SVN.

I tried the link given by Hrvoje but that link does not have coupledFvMatrices.H and regionCouplePolyPatch.H

Is there a problem with downloading, or are we supposed to build these header files by hand?

Thanks in advance.

Niranjan
nsghaisas is offline   Reply With Quote

Old   September 11, 2008, 02:58
Default Hi, I had also this problem.
  #112
shu
New Member
 
Bitan SHU
Join Date: Mar 2009
Posts: 14
Rep Power: 8
shu is on a distinguished road
Hi,
I had also this problem. Then I downloaded the builded files from:
http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/release/
and it works.

Maybe you can try this too?

Good luck!

Bitan Shu
shu is offline   Reply With Quote

Old   September 18, 2008, 12:42
Default Hi, I want to simulate the te
  #113
khl
New Member
 
khl
Join Date: Mar 2009
Posts: 1
Rep Power: 0
khl is on a distinguished road
Hi,
I want to simulate the temperature field during the melting process of a solid. According to literature this process is described by a heat conduction equation containing the total enthalpy H, the temperature T and the latent heat L.
My implementation for this problem is the following:

************************************************** *
fvScalarMatrix HEqn
(
fvm::ddt(rho,H)
+fvm::div(rhoPhi,H)
-fvc::laplacian(L,T)
==
fvc::ddt(rho,dh)
+fvc::div(rhoPhi,dh)
+Q
);

HEqn.solve();

T=H/CP*neg(H-CP*TM)
+TM*neg(H-(CP*TM+L))*pos(H-CP*TM)
+(TM+(H-(CP*TM+L))/CP)*pos(H-(CP*TM+L));

liquid=pos(H-CP*TM)*neg(H-(CP*TM+L))*(H/L-CP*TM/L)+pos(H-(CP*TM+L));

dh=liquid*L;
************************************************** **


H=CP*T+dh: total enthalpy

T: temperature

liquid: liquid phase volume fraction

rho: density

CP: heat capacity

TM: melting temperature

L: latent heat

Q: heat source

With this implementation I get very strange results (extremely high or negative temperatures, depending on the time step), that make no physical sense.
Can anybody tell me, what is wrong in my implementation?

Best regards,
khl
khl is offline   Reply With Quote

Old   October 10, 2008, 05:48
Default Hello all Decided to modify
  #114
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 450
Rep Power: 15
linnemann will become famous soon enough
Hello all

Decided to modify the solver a bit to be able to solve for turbulent flow and decided to post the results. If anyone could have a look at it and see if everything is ok it would be nice..

The turbulent part is based on turbFoam and I included the ability to modify the timestep by the maxCo = in the dictionary file.

It must be used with 1.4.1-dev

Hope anyone can use it for something

Looking into developing a steady solver based on simpleFoam but work projects are taking much of my time.

conjugateHeatFoamTurb.tar.gz

Regards Niels
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   October 15, 2008, 04:41
Default hi all! i have a problem vi
  #115
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 186
Rep Power: 8
mabinty is on a distinguished road
hi all!

i have a problem visualizing the results of the multiRegionHeater tutorial (chtMultiRegionFoam solver). no data can be displayed for time steps greater than 0 (for multiRegionHeater.OpenFOAM activated in the pipeline browser). i use OF 1.5 and paraview 3.3.0-dev. i would greatly appreciate any hint! will continue digging till then ...

thx in advance!
aram
mabinty is offline   Reply With Quote

Old   November 10, 2008, 12:31
Default Hi! I am running a coupled
  #116
New Member
 
María
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 12
Rep Power: 8
maría is on a distinguished road
Hi!

I am running a coupled solver for solving some coupled/not-coupled variables. For that purpose I use "patchCoupled.attach()" and "patchCoupled.detach()" as Hrv. posted in this discussion on Saturday, February 23,2008...BUT...I get the following FATAL ERROR:

--> FOAM FATAL ERROR : Requesting patchToPatchInterpolation in detached state

From function const patchToPatchInterpolation& regionCouplePolyPatch::patchToPatch() const
in file meshes/polyMesh/polyPatches/constraint/regionCouple/regionCouplePolyPatch.C at line 119.

FOAM aborting


Could someone give me a hint about what I am missing?

Thanks in advance

Mara
maría is offline   Reply With Quote

Old   November 14, 2008, 10:22
Default Hello, Someone give me the
  #117
emilianyassenov
Guest
 
Posts: n/a
Hello,

Someone give me the idea which solver should I use for laminar flow(water) where I can see heat flux distribution on it...my shape is pipe

thanks in advance

Emo
  Reply With Quote

Old   December 28, 2008, 17:57
Default sorry about the smileys. they
  #118
New Member
 
Peter Canfield
Join Date: Mar 2009
Posts: 16
Rep Power: 8
canfield is on a distinguished road
sorry about the smileys. they should of course read as :o
canfield is offline   Reply With Quote

Old   December 29, 2008, 06:56
Default Your problem is in OFstream: I
  #119
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
Your problem is in OFstream: I have added extra arguments to allow stream append consistent with the STL at client's request.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   December 29, 2008, 09:36
Default please excuse my ignorance, bu
  #120
New Member
 
Peter Canfield
Join Date: Mar 2009
Posts: 16
Rep Power: 8
canfield is on a distinguished road
please excuse my ignorance, but could you advise me on how to fix it?

thanks,
PC
canfield 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 ajay chandra FLUENT 3 October 26, 2010 17:14
heat transfer in conjugate heat problems cirilo CD-adapco 1 April 18, 2006 09:16
What's conjugate heat transfer? Larva-nymph Main CFD Forum 7 March 16, 2005 08:27
Conjugate Heat Transfer A. Roy Phoenics 1 June 26, 2002 18:35
Conjugate Heat Transfer Thomas P. Abraham Main CFD Forum 11 May 7, 1999 10:46


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