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

Multicomponent stationary heat and mass transfer in reactingEulerFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2020, 13:41
Default Multicomponent stationary heat and mass transfer in reactingEulerFoam
  #1
Member
 
Viraj Belekar
Join Date: Jun 2016
Posts: 64
Rep Power: 6
viraj20feb is on a distinguished road
Hello,


I am trying to simulate heat and mass transfer in two multicomponent stationary mixtures. I realize that in the current OF versions, we cannot define a multicomponent phase as stationary while using reactingEulerFoam solvers. Has anyone tried to implement this or can anyone direct me in the right direction so that I can proceed?


Thank you!
viraj20feb is offline   Reply With Quote

Old   May 19, 2020, 17:24
Default
  #2
Member
 
Viraj Belekar
Join Date: Jun 2016
Posts: 64
Rep Power: 6
viraj20feb is on a distinguished road
I figured it out by adding a typedef "multiComponentStationaryPhaseModel" in the phaseModels.C file:

Code:
 
   typedef
        AnisothermalPhaseModel
        <
            MultiComponentPhaseModel
            <
                InertPhaseModel
                <
                    StationaryPhaseModel
                    <
                        ThermoPhaseModel<phaseModel, rhoReactionThermo>
                    >
                >
            >
        >
        multiComponentStationaryPhaseModel;

    addNamedToRunTimeSelectionTable
    (
        phaseModel,
        multiComponentStationaryPhaseModel,
        phaseSystem,
        multiComponentStationaryPhaseModel
    );
Now, when I try to use this PhaseModel, I get the following error:
Code:
reactingTwoPhaseEulerFoam | tee logreact
reactingTwoPhaseEulerFoam: symbol lookup error: /home/viraj/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/libreactingPhaseSystem.so: undefined symbol: _ZNK4Foam20StationaryPhaseModelINS_16ThermoPhaseModelINS_10phaseModelENS_9rhoThermoEEEE19continuityErrorFlowEv
Any help to resolve this error is greatly appreciated.

Thank you!
viraj20feb 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
Interphase mass transfer of a reaction cfx_ws1992 Main CFD Forum 0 May 15, 2017 21:42
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 05:15
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32


All times are GMT -4. The time now is 06:32.