|
[Sponsors] |
November 5, 2020, 14:59 |
Problem Including "setRootCaseLists.H"
|
#1 |
New Member
Mohammad Khojastehmehr
Join Date: Jul 2020
Posts: 20
Rep Power: 6 |
Hey everybody,
I have compiled this solver successfully: Code:
#include <Reaktoro/Reaktoro.hpp> #include "fvCFD.H" int main(int argc, char *argv[]) { //#include "setRootCaseLists.H" Reaktoro::ChemicalEditor editor; editor.addAqueousPhaseWithElements("H O C Ca"); editor.addMineralPhase("Calcite"); Reaktoro::ChemicalSystem system(editor); Reaktoro::EquilibriumProblem problem(system); problem.add("H2O", 1, "kg"); problem.add("CaCO3", 1, "mol"); std::cout << "h" << std::endl; Reaktoro::ChemicalState state(system); std::cout << "h" << std::endl; state = equilibrate(problem); std::cout << "h" << std::endl; } Code:
(base) mcrossover97@DESKTOP-E8DM4SE:/mnt/d/FOAM/run/reaktoro$ reaktoroFOAM h h h Code:
(base) mcrossover97@DESKTOP-E8DM4SE:/mnt/d/FOAM/run/reaktoro$ reaktoroFOAM /*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \*---------------------------------------------------------------------------*/ Build : 8-9b73cf21a682 Exec : reaktoroFOAM Date : Nov 05 2020 Time : 22:25:24 Host : "DESKTOP-E8DM4SE" PID : 10734 I/O : uncollated Case : /mnt/d/FOAM/run/reaktoro nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // h h |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
BuoyantBoussinesqSimpleFoam_Facing problem | Mondal131211 | OpenFOAM Running, Solving & CFD | 1 | April 10, 2019 20:41 |
Mesh& steptime independant: conduction-convection problem | Fati1 | Main CFD Forum | 1 | October 28, 2018 14:52 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 06:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |