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

buoyantPimpleFoam with humidity

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2024, 07:39
Default
  #21
zog
New Member
 
Jacques
Join Date: Jul 2019
Posts: 17
Rep Power: 7
zog is on a distinguished road
Sadly i can no longer compile it. I will try to modify the tutorials for simplefoam which did compile.

Code:
Making dependencies: buoyantHumidityPimpleFoam.C
g++ -std=c++11 -m64 -pthread -DOPENFOAM=2212 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3  -DNoRepository -ftemplate-depth-100  -I/clust/softs/OpenFOAM/OpenFOAM-v2212/src/finiteVolume/lnInclude -I/clust/softs/OpenFOAM/OpenFOAM-v2212/src/meshTools/lnInclude -I/clust/softs/OpenFOAM/OpenFOAM-v2212/src/sampling/lnInclude -I/clust/softs/OpenFOAM/OpenFOAM-v2212/src/transportModels/compressible/lnInclude -I/clust/softs/OpenFOAM/OpenFOAM-v2212/src/thermophysicalModels/basic/lnInclude -I/clust/softs/OpenFOAM/OpenFOAM-v2212/src/thermophysicalModels/radiation/lnInclude -I/clust/softs/OpenFOAM/OpenFOAM-v2212/src/TurbulenceModels/turbulenceModels/lnInclude -I/clust/softs/OpenFOAM/OpenFOAM-v2212/src/TurbulenceModels/compressible/lnInclude -I/clust/softs/OpenFOAM/OpenFOAM-v2212/src/dynamicMesh/lnInclude -I/clust/softs/OpenFOAM/OpenFOAM-v2212/src/dynamicFvMesh/lnInclude -I/clust/softs/OpenFOAM/OpenFOAM-v2212/src/regionFaModels/lnInclude -iquote. -IlnInclude -I/clust/softs/OpenFOAM/OpenFOAM-v2212/src/OpenFOAM/lnInclude -I/clust/softs/OpenFOAM/OpenFOAM-v2212/src/OSspecific/POSIX/lnInclude   -fPIC -c buoyantHumidityPimpleFoam.C -o /clust/softs/OpenFOAM/OpenFOAM-v2212/build/linux64GccDPInt32Opt/applications/solvers/heatTransfer/buoyantHumidityPimpleFoam/buoyantHumidityPimpleFoam.o
In file included from buoyantHumidityPimpleFoam.C:176:
pEqn.H: Dans la fonction «*int main(int, char**)*»:
pEqn.H:55:57: error: pas de fonction concordante pour l'appel à «*Foam::fvMatrix<double>::solve(Foam::word)*»
     p_rghEqn.solve(p_rgh.select(pimple.finalInnerIter()));
                                                         ^
In file included from /clust/softs/OpenFOAM/OpenFOAM-v2212/src/finiteVolume/lnInclude/fvMatrix.C:3031,
                 from /clust/softs/OpenFOAM/OpenFOAM-v2212/src/finiteVolume/lnInclude/fvMatrix.H:1269,
                 from /clust/softs/OpenFOAM/OpenFOAM-v2212/src/finiteVolume/lnInclude/ddtScheme.C:32,
                 from /clust/softs/OpenFOAM/OpenFOAM-v2212/src/finiteVolume/lnInclude/ddtScheme.H:391,
                 from /clust/softs/OpenFOAM/OpenFOAM-v2212/src/finiteVolume/lnInclude/fvcDdt.C:30,
                 from /clust/softs/OpenFOAM/OpenFOAM-v2212/src/finiteVolume/lnInclude/fvcDdt.H:252,
                 from /clust/softs/OpenFOAM/OpenFOAM-v2212/src/finiteVolume/lnInclude/fvc.H:46,
                 from /clust/softs/OpenFOAM/OpenFOAM-v2212/src/finiteVolume/lnInclude/fvCFD.H:6,
                 from buoyantHumidityPimpleFoam.C:43:
/clust/softs/OpenFOAM/OpenFOAM-v2212/src/finiteVolume/lnInclude/fvMatrixSolve.C:318:31: note: candidate: «*Foam::SolverPerformance<Type> Foam::fvMatrix<Type>::solve(const Foam::dictionary&) [with Type = double]*»
 Foam::SolverPerformance<Type> Foam::fvMatrix<Type>::solve
                               ^~~~
/clust/softs/OpenFOAM/OpenFOAM-v2212/src/finiteVolume/lnInclude/fvMatrixSolve.C:318:31: note:   pas de conversion connue pour convertir l'argument 1 depuis «*Foam::word*» vers «*const Foam::dictionary&*»
/clust/softs/OpenFOAM/OpenFOAM-v2212/src/finiteVolume/lnInclude/fvMatrixSolve.C:343:31: note: candidate: «*Foam::SolverPerformance<Type> Foam::fvMatrix<Type>::solve() [with Type = double]*»
 Foam::SolverPerformance<Type> Foam::fvMatrix<Type>::solve()
                               ^~~~
/clust/softs/OpenFOAM/OpenFOAM-v2212/src/finiteVolume/lnInclude/fvMatrixSolve.C:343:31: note:   le candidat attend 0 argument, 1 fourni(s)
make[2]: *** [/clust/softs/OpenFOAM/OpenFOAM-v2212/wmake/rules/General/transform:38: /clust/softs/OpenFOAM/OpenFOAM-v2212/build/linux64GccDPInt32Opt/applications/solvers/heatTransfer/buoyantHumidityPimpleFoam/buoyantHumidityPimpleFoam.o] Error 1
make[2]*: on quitte le répertoire «*/clust/softs/OpenFOAM/OpenFOAM-v2212/applications/solvers/heatTransfer/buoyantHumidityPimpleFoam*»
make[1]: *** [/clust/softs/OpenFOAM/OpenFOAM-v2212/wmake/makefiles/apps:28: buoyantHumidityPimpleFoam] Error 2
make[1]*: on quitte le répertoire «*/clust/softs/OpenFOAM/OpenFOAM-v2212/applications/solvers/heatTransfer*»
make: *** [/clust/softs/OpenFOAM/OpenFOAM-v2212/wmake/makefiles/apps:28: heatTransfer] Error 2
[edit eben though i appear to be alone on this thread] I had to change in line 55 : p_rghEqn.solve(p_rgh.select(pimple.finalInnerIter( ))); with p_rghEqn.solve(mesh.solver(p_rgh.select(pimple.finalInnerIter()))); . WHy ? I have no clue.

The tutorials are still not working and I don4t understand how they are supposed to work... The solvers asks (with reason I would say) for a thermo:specificenthalpy in the fvSolution file : how can it work without it ? When I add it, the first iteration for the enthalpy goes to the roof and crashes though.
zog is offline   Reply With Quote

Reply


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
Which solver required for humidity and temperature distributiion Sandy7 STAR-CCM+ 2 January 25, 2017 03:17
relative humidity more than 100%!! unable to understand why this is happening amasugi14 FLUENT 1 December 1, 2015 22:01
buoyantPimpleFoam Convergence Issues joel.lehikoinen OpenFOAM 1 December 5, 2013 15:58
Condensation of water if humidity > 100% Wikie FLUENT 4 November 11, 2010 14:57
Condensation of water if humidity > 100% via UDF Wikie Fluent UDF and Scheme Programming 0 November 9, 2010 17:41


All times are GMT -4. The time now is 09:16.