|
[Sponsors] |
June 25, 2010, 05:13 |
new heatTransferModel for dieselSpray lib
|
#1 |
New Member
Join Date: Jun 2010
Posts: 25
Rep Power: 15 |
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 ) const {... 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: heatTransferModel/RanzMarshall/RanzMarshall.C heatTransferModel/RanzMarshall/RanzMarshall.H heatTransferModel/heatTransferModel/heatTransferModel.H heatTransferModel/noheatTransfer/noheatTransfer.C heatTransferModel/noheatTransfer/noheatTransfer.H 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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unable to load lib file: "undefined symbol" | gfilip | OpenFOAM | 8 | May 26, 2022 07:48 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 06:25 |
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 |