CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

new heatTransferModell for dieselSpray lib

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

LinkBack Thread Tools Display Modes
Old   June 25, 2010, 05:13
Default new heatTransferModel for dieselSpray lib
New Member
Join Date: Jun 2010
Posts: 25
Rep Power: 9
mystix is on a distinguished road
Hallo community,

After adding some new evaporation models like in the dieselFoam tutorial I want to add a new heat Transfer Model to the dieselSpray library.

I want to change the relaxationTime of the RanzMarshall model by adding a correction term based on Xs and Xf.

To do this I copied the RanzMarshall model and changed the equations to my needs. But I have to use some more variables: Xs and Xf for the 2nd heat transfer Model.

But I dont know how I can add these variables properly. It is not done with just adding

const scalar Xs,
const scalar Xf

to the relaxationTime method. Can someone help please?

Thank you in advance.


Problem was solved:

I added Xs and Xf to the relaxationTime method in all depended files which where:


In "parcel/setRelaxationTimes.C" I had to added the green marked commands:

for(label i=0; i<Nf; i++){
tauHeatTransfer = sDB.heatTransfer().relaxationTime(
liquidDensity, d(), liquidcL, kMixture, Reynolds, Prandtl, Xs[i], Xf[i]);}

Last edited by mystix; July 1, 2010 at 10:33.
mystix is offline   Reply With Quote


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
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 07:25
Unable to load lib file: "undefined symbol" gfilip OpenFOAM 5 August 31, 2010 21:52
OpenFOAM141dev linking error on IBM AIX 52 matthias OpenFOAM Installation 24 April 28, 2008 15:49
Doubts about lib case f220 J. H. Fan Phoenics 1 June 17, 2002 02:05
3D PARALLEL SOLVER (MPI Lib) Saud Khashan Main CFD Forum 8 July 14, 1999 08:52

All times are GMT -4. The time now is 04:01.