CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Adding a new Interfacial model in compressibleTwophaseeulerfoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2014, 13:55
Default Adding a new Interfacial model in compressibleTwophaseeulerfoam
  #1
New Member
 
nikhil r
Join Date: Oct 2013
Posts: 2
Rep Power: 0
nikhil r is on a distinguished road
Hi all,

I want to add a mass transfer model to bring out the effect of evaporation in two phase solver. Heat transfer Model already exists as an Interfacial model. So, I just copied it and renamed all the occurrence of heat to mass to start with. Accordingly I have added the header files in the main file and created one field for mass transfer coefficient as done for heat transfer coefficient. But while compiling I am getting the following error.
Quote:
-lincompressibleTransportModels -lcompressiblePhaseModel -lcompressibleEulerianInterfacialModels -lcompressibleKineticTheoryModel -lfiniteVolume -lmeshTools -lOpenFOAM -ldl -lm -o /home/Ashwani/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/bin/MycompressibleTwoPhaseEulerFoam
Make/linux64GccDPOpt/MycompressibleTwoPhaseEulerFoam.o: In function `main':
MycompressibleTwoPhaseEulerFoam.C.text+0x339a): undefined reference to `Foam::massTransferModel::New(Foam::dictionary const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam:haseModel const&, Foam:haseModel const&)'
collect2: ld returned 1 exit status
make: *** [/home/Ashwani/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/bin/MycompressibleTwoPhaseEulerFoam] Error 1
Am I missing some steps in compiling. I have already made the necessary changes in the make file, which should be done while adding a new model.
nikhil r is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding graviational acc. to turbulence model fertinaz OpenFOAM Programming & Development 6 December 12, 2020 01:04
Adding new Transport properties model dvcauwe OpenFOAM Programming & Development 12 March 26, 2017 05:30
Adding thermophysical model to chemistryType runtime table ChrisA OpenFOAM Programming & Development 3 March 10, 2014 10:37
Adding a turbulence model into my own CFD code quarkz Main CFD Forum 3 November 23, 2013 23:53
Convergence becomes very slow after adding thin material model for CHT Anna Tian CFX 1 June 6, 2013 19:03


All times are GMT -4. The time now is 02:07.