|
[Sponsors] |
Modification of reactingFoam solver to FGMFoam solver |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Killua Zoldyck
Join Date: Apr 2023
Posts: 15
Rep Power: 3 ![]() |
Hello,
I am trying to follow tutorial by Michael Bertsch to compile FGMFoam from reactingFoam. https://www.tfd.chalmers.se/~hani/ku...rt_FGMFoam.pdf I am getting following error and I am not sure what is the issue here. build_log.zip Any idea on how to resolve this ? HTML Code:
In file included from FGMFoam.C:88:PVEqn.H: In function ‘int main(int, char**)’:PVEqn.H:8:20: error: ‘class Foam::CombustionModel<Foam::psiReactionThermo>’ has no member named ‘SourcePV’ 8 | reaction->SourcePV() //--- added by senbin, 2019-04-26 | ^~~~~~~~
HTML Code:
make: *** [/usr/lib/openfoam/openfoam2406/wmake/rules/General/transform:38: Make/linux64GccDPInt32Opt/FGMFoamPost.o] Error 1 The source code of file is given below. https://drive.google.com/file/d/1ZL3...ew?usp=sharing |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Killua Zoldyck
Join Date: Apr 2023
Posts: 15
Rep Power: 3 ![]() |
I am not sure in which version it was written. Most files have following comment at top.
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | www.openfoam.com \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2011-2015 OpenFOAM Foundation ------------------------------------------------------------------------------ |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
|
Not sure either. I believe something like OpenFoam-2.2 or 2.3.
The alternative approach is to persue a new implementation. A function object to compute the mixture fraction is already available. Next step its to extend to. computation of the mixture fraction variance. |
|
![]() |
![]() |
![]() |
![]() |
#5 | |
New Member
Killua Zoldyck
Join Date: Apr 2023
Posts: 15
Rep Power: 3 ![]() |
I have successfully compiled and run the FGMFoam for SandiaD flame tutorial. But I am getting following warnings.
Quote:
I have went through some threads in this forums but I am not sure which library linkage is causing this issue. Any idea on this ? |
||
![]() |
![]() |
![]() |
![]() |
#7 | |
New Member
Killua Zoldyck
Join Date: Apr 2023
Posts: 15
Rep Power: 3 ![]() |
Not really. I have tried using grep function to find and I am getting following results :
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#11 |
New Member
Killua Zoldyck
Join Date: Apr 2023
Posts: 15
Rep Power: 3 ![]() |
Not sure. I have tried compiling it in version v2206 as you recommended previously but I was getting same warnings. The solver is running fine but it gives these warnings which I am not sure why.
|
|
![]() |
![]() |
![]() |
![]() |
#13 |
New Member
Killua Zoldyck
Join Date: Apr 2023
Posts: 15
Rep Power: 3 ![]() |
Haven't had the chance to look at it properly but based on initial expectation, contour plots for temperature and OH radicals are quite close as given in this tutorial.
https://www.tfd.chalmers.se/~hani/ku...rt_FGMFoam.pdf |
|
![]() |
![]() |
![]() |
![]() |
#14 |
New Member
Killua Zoldyck
Join Date: Apr 2023
Posts: 15
Rep Power: 3 ![]() |
For anyone wondering how I got rid of these warnings, I renamed all the classes which were mentioned in the warning. Crude approach but it worked. I have tried copying library from src to my local and recompiling it with different name but not sure why it didn't work.
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
temp dependent density | Linas | Fluent UDF and Scheme Programming | 2 | February 13, 2025 19:22 |
Get the rate of reactions from the reactingFoam solver | Mirza8 | OpenFOAM Post-Processing | 10 | June 24, 2024 03:37 |
Error: WorkBench Error: Could not handle event: SolutionStatusUpdate | Kieyo | Fluent Multiphase | 0 | November 10, 2022 00:58 |
Error SIGSEGV using VOF and UDF | JERC_UTFSM | Fluent UDF and Scheme Programming | 14 | November 8, 2021 00:17 |
Is it possible to accelerate the ode solver of reactingFoam? | pajofego | OpenFOAM Running, Solving & CFD | 2 | August 10, 2014 06:38 |