|
[Sponsors] |
[Other] Difficulties to compile aerosolved in openfoam 1712, 1912 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 3, 2020, 03:10 |
Difficulties to compile aerosolved in openfoam 1712, 1912
|
#1 | ||
New Member
parth
Join Date: Feb 2020
Posts: 23
Rep Power: 6 |
Hello, foamers,
I am quite new to OpenFoam. I learned to run a few example cases. For my work, aerosol dynamics is necessary. This is provided by aerosolved (aerosolEulerFoam solver). The link for aerosolved is as below: https://github.com/pmpsa-cfd/aerosolved I tried to compile the program however, following two lines of Allwmake is creating errors: Quote:
Quote:
|
|||
February 6, 2020, 10:01 |
|
#2 |
New Member
Join Date: May 2013
Posts: 1
Rep Power: 0 |
The current 2.0 version of AeroSolved only compiles against OpenFOAM-v1812 and OpenFOAM-v1906. You were unlucky with your choice of OpenFOAM versions ;-)
Soon we will release version 2.1 which will probably support also OpenFOAM Foundation versions. You can follow the AeroSolved developments at Github. |
|
February 6, 2020, 22:39 |
|
#3 |
New Member
parth
Join Date: Feb 2020
Posts: 23
Rep Power: 6 |
Hi, Thank you for your reply. I tried with OpenFOAM-v1812 now I am able to compile.
|
|
February 7, 2020, 13:59 |
|
#4 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
Hey EdoF,
Why don't you release "aerosolved" as a submodule in OpenFOAM? Which would be win-win for users and your software? Recently OpenQBMM is released as a submodule there. I would just create a feature request in GitLab, the guys are pretty open and flexible in mind.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
September 19, 2020, 05:01 |
|
#5 |
New Member
Piyush
Join Date: Sep 2020
Posts: 12
Rep Power: 6 |
HI,
I am running OpenFoam v2006 using ubuntu bash in windows 10. I also downloaded Aerosolved from github and copied it in the OpenFoam file and installed it using "sudo make" command. Now I'm currently trying to run a tutorial of Aerosolved (bent pipe) and while executing Allrun, it throws me an error. Is it because I'm using the newest version of OpenFoam? Should I delete this version and install OpenFoam verision 1906? Last edited by Piyush25; September 30, 2020 at 02:32. |
|
September 19, 2020, 13:13 |
|
#6 | |
Senior Member
Join Date: Oct 2017
Posts: 133
Rep Power: 9 |
Quote:
|
||
September 20, 2020, 06:22 |
|
#7 |
New Member
Piyush
Join Date: Sep 2020
Posts: 12
Rep Power: 6 |
Hi, I installed OpenFoam-v1906 on my Ubuntu 18.04 LTS (bash).
Now I'm getting a lot of errors while installing aerosolved. Please have a look... piyush@LAPTOP-QSMI8GI5:/opt/OpenFOAM/OpenFOAM-v1906/aerosolved-master$ make ./Allwmake ./Allwmake: line 3: wmake: command not found ./Allwmake: line 5: wmakeLnInclude: command not found ./Allwmake: line 6: wmake: command not found ./Allwmake: line 8: wmake: command not found ./Allwmake: line 9: wmake: command not found ./Allwmake: line 11: wmake: command not found Makefile:6: recipe for target 'compile' failed make: *** [compile] Error 127 UPDATE: Same Installation problems also in ubuntu. Last edited by Piyush25; September 30, 2020 at 02:51. |
|
September 20, 2020, 08:16 |
|
#8 |
Senior Member
Join Date: Oct 2017
Posts: 133
Rep Power: 9 |
I'm not able to help you, but if you search the web for "wmake: command not found" you will find some hints.
|
|
September 21, 2020, 07:40 |
|
#9 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
Try using a pre-compiled package for 1912 or 2006: https://develop.openfoam.com/Develop...ompiled/debian |
||
September 21, 2020, 13:09 |
Thanks for your help :)
|
#10 |
New Member
Piyush
Join Date: Sep 2020
Posts: 12
Rep Power: 6 |
Hi guys,
I tried everything but nothing seems to work. Now it is throwing me many fatal errors . One such errors is shown below: /opt/OpenFOAM/ThirdParty-v1812/platforms/linux64/gcc-6.3.0/include/c++/6.3.0/x86_64-pc-linux-gnu/bits/os_defines.h:39:22: fatal error: features.h: No such file or directory. Lastly, I guess this is because I'm using Ubuntu bash in Windows 10. I might switch to linux. UPDATE: Same Installation problems also in ubuntu. Last edited by Piyush25; September 30, 2020 at 02:40. |
|
October 3, 2020, 14:17 |
Allrun is unable to execute
|
#11 |
New Member
Piyush
Join Date: Sep 2020
Posts: 12
Rep Power: 6 |
When we try to execute the Allrun script using the command :
./Allrun fullStokes sectional The script is throwing the syntax error issue. I Tried to remove the if condition and directly kept the value present in else condition, removed if else condition itself then also did not work properly. Can You kindly confirm why the shell script is unable to run. piyush@LAPTOP-QSMI8GI5:~/OpenFOAM/piyush-v1812/aerosolved/cases/bentPipe_BC$ ./Allrun fullStokes sectional ./Allrun: 19: ./Allrun: Syntax error: "(" unexpected (expecting "then") piyush@LAPTOP-QSMI8GI5:~/OpenFOAM/piyush-v1812/aerosolved/cases/bentPipe_BC$ ^C |
|
October 6, 2020, 12:14 |
|
#12 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
I took a quick look and made a few changes to compile with OpenFOAM-v2006, should also work with slightly older versions
Here is the merge request: https://github.com/pmpsa-cfd/aerosolved/pull/3 Also took a very quick look at some of the Allrun scripts, seeing as at least one user reported problems. As far as I can see there are no intrinsic issues, but many of the scripts to expect additional arguments for input. If these are missing you will see a script syntax errors. The scripts could be made more robust, but for now you will have to read them to see if you are using them as the developer expected. |
|
October 7, 2020, 02:01 |
|
#13 |
New Member
parth
Join Date: Feb 2020
Posts: 23
Rep Power: 6 |
@olesen, yes, I have tested for 1906, it was working. Also, the allrun scripts for the bend pipe are working fine.
|
|
October 7, 2020, 05:14 |
Condensation Model
|
#14 |
New Member
Piyush
Join Date: Sep 2020
Posts: 12
Rep Power: 6 |
Hello,
I somehow got aerosolved working and bentPipe is working fine too. Thanks for the guidance Now i want to model condensation. So in aerosolProperties, i changed the condensation model from none to coupled. submodels { condensation { type coupled; } nucleation { type none; } coalescence { type none; } driftFluxModel { diffusion { type none; } Brownian { type StokesEinstein; } inertial { type fullStokes; tolerance 1E-6; maxIter 3; VMax 10.0; } } } NO OTHER CHANGES ARE MADE in any files Getting some errors: [7] --> FOAM FATAL IO ERROR: [7] Entry 'activityCoeff' not found in dictionary "IOstream.submodels.condensation" [7] [7] file: IOstream.submodels.condensation [7] [7] From function const Foam::dictionary& Foam::dictionary::subDict(const Foam::word&) const [7] in file db/dictionary/dictionary.C at line 476. [7] FOAM parallel run exiting Does anyone know what is the problem?? |
|
October 7, 2020, 06:47 |
|
#15 | |
New Member
parth
Join Date: Feb 2020
Posts: 23
Rep Power: 6 |
@Piyush, there is no problem in the code. You are not defining sufficient parameter required for that option.
Quote:
|
||
October 7, 2020, 08:16 |
Thanks for your help :)
|
#16 |
New Member
Piyush
Join Date: Sep 2020
Posts: 12
Rep Power: 6 |
Ok, Sir.
Can you suggest any good documentation on aerosolved? The documentation they provided in github contains very little information, I feel. Thank you |
|
November 3, 2020, 10:51 |
problem with thermotype in BentPipe (AeroSolved)
|
#17 |
New Member
Piyush
Join Date: Sep 2020
Posts: 12
Rep Power: 6 |
Hi, I'm also trying to run aerosolved in different PC and all the tutorial cases run fine but there is a problem with bentPipe case. When I tried to run the default case, the following error is shown:
[1] --> FOAM FATAL ERROR: [1] Unknown rhoAerosolPhaseThermo type thermoType { type heAerosolRhoThermo; mixture aerosolPhase; transport const; thermo hConst; energy sensibleInternalEnergy; equationOfState perfectGas; specie specie; } Valid rhoAerosolPhaseThermo types are: heAerosolRhoThermo aerosolPhase const eConst incompressiblePerfectGas specie sensibleInternalEnergy heAerosolRhoThermo aerosolPhase const eConst perfectGas specie sensibleInternalEnergy heAerosolRhoThermo aerosolPhase const hConst icoFunction specie sensibleInternalEnergy heAerosolRhoThermo aerosolPhase const hConst icoPolynomial specie sensibleInternalEnergy heAerosolRhoThermo aerosolPhase const hConst perfectFluid specie sensibleInternalEnergy heAerosolRhoThermo aerosolPhase const hConst rhoConst specie sensibleInternalEnergy heAerosolRhoThermo aerosolPhase polynomial hPolynomial icoPolynomial specie sensibleInternalEnergy heAerosolRhoThermo aerosolPhase sutherland janaf adiabaticPerfectFluid specie sensibleInternalEnergy heAerosolRhoThermo aerosolPhase sutherland janaf incompressiblePerfectGas specie sensibleInternalEnergy heAerosolRhoThermo aerosolPhase sutherland janaf perfectFluid specie sensibleInternalEnergy heAerosolRhoThermo aerosolPhase sutherland janaf perfectGas specie sensibleInternalEnergy [1] [1] [1] From function static typename Table::iterator Foam::basicThermo::lookupThermo(const Foam::dictionary&, Table*, std::initializer_list<const char*>, const Foam::word&) [with Thermo =$ [1] in file /home/thaseem/OpenFOAM/OpenFOAM-v1906/src/thermophysicalModels/basic/lnInclude/basicThermoTemplates.C at line PS: I don't have this error on my other PC. I tried other rhoAerosolThermoTypes as it suggested but doesn't work. Help needed. Thank you! |
|
December 22, 2020, 04:01 |
Same problem happened
|
#18 |
New Member
Victor
Join Date: Dec 2020
Posts: 2
Rep Power: 0 |
I also met same problem with you.
--> FOAM FATAL ERROR: Unknown rhoAerosolPhaseThermo type thermoType { type heAerosolRhoThermo; mixture aerosolPhase; transport const; thermo hConst; energy sensibleInternalEnergy; equationOfState perfectGas; specie specie; } I'm useing openfoam 1906 version. Before installing version 1906, I used openfoam 1812. It does not have this problem under openfoam 1812. I also do not know how to solve it. Does anybody have some suggestion? Thank you very much. |
|
December 22, 2020, 04:21 |
|
#19 |
New Member
parth
Join Date: Feb 2020
Posts: 23
Rep Power: 6 |
Have you tried to clear the environment? before using other version OpenFOAM environment you should clear the environment by using 'unset' command
|
|
December 22, 2020, 04:22 |
|
#20 |
New Member
parth
Join Date: Feb 2020
Posts: 23
Rep Power: 6 |
I have used aerosolved with 1812 only.
|
|
Tags |
aerosolved, compilation error, compile error, openfoam 1712, openfoam 1912 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Combustion modelling in OpenFOAM - Difficulties | AleDR | OpenFOAM Running, Solving & CFD | 23 | January 31, 2021 00:40 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 04:18 |
[Other] Difficulties trying to install porousMultiphaseFoam on OpenFOAM for Windows 15.06 | JKoeleman | OpenFOAM Community Contributions | 0 | September 15, 2015 10:36 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 06:56 |