|
[Sponsors] |
Multiplication of source term with div(T) is causing error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 20, 2022, 08:30 |
Multiplication of source term with div(T) is causing error
|
#1 |
Member
hari charan
Join Date: Sep 2021
Location: India,hyderabad
Posts: 97
Rep Power: 5 |
Hi guys,
I implemented TEqn in interPhaseChangeFoam. Now I am implementing source terms . For that I have to multiply my thermal conductivity(K) with div(T). My code lookks like this Code:
Foam::tmp<Foam::volScalarField> Foam::phaseChangeTwoPhaseMixtures::myPhaseChange::kappaGradT() const { const volScalarField limalpha1(min(max((alpha1()), scalar(0)), scalar(1))); const volScalarField& T = alpha1().db().lookupObject<volScalarField>("T"); return ( (limalpha1*lambda1_+ (1-limalpha1)*lambda2_) * div(T) ); } My phase change model compiled well and also the solver . But when I run the test case its giving the following error Code:
hari@hari:~/OpenFOAM/hari-8/run/suckingInterface_6$ interPhaseChangeFoam_5 interPhaseChangeFoam_5: symbol lookup error: /home/hari/OpenFOAM/hari-8/platforms/linux64GccDPInt32Opt/lib/libphaseChangeTwoPhaseMixtures.so: undefined symbol: _ZN4Foam2fv9divSchemeIdE27IstreamConstructorTablePtr_E |
|
Tags |
interphasechangefoam, openfoam8 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 14:21 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 07:42 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |