|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Ching Liu
Join Date: Sep 2017
Posts: 52
Rep Power: 9 ![]() |
I tried two methods to remove the gravity in a simulation in chtMultiRegionTwoFluidEulerFoam.
1. delete the 'g' file under constant file 2 set gravity as zero in the 'g' file under constant file. But both methods cause errors. Has anyone know how to remove the gravity in openFoam? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Josh Williams
Join Date: Feb 2021
Location: Scotland
Posts: 114
Rep Power: 6 ![]() |
Setting gravity = 0 should not cause an issue (at least in my experience, although I have never used this solver). Could you share how you done this?
|
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Member
Ching Liu
Join Date: Sep 2017
Posts: 52
Rep Power: 9 ![]() |
Quote:
When I set g to some none-zero value, the simulation will run well. |
||
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Josh Williams
Join Date: Feb 2021
Location: Scotland
Posts: 114
Rep Power: 6 ![]() |
Hmm, without an error message it is hard to comment. Why not try set to some very small non-zero value (for example, 1.e-10)?
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Ching Liu
Join Date: Sep 2017
Posts: 52
Rep Power: 9 ![]() |
||
![]() |
![]() |
![]() |
Tags |
gravity, openfoam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 11:58 |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 05:29 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 03:18 |
Missing gravity in new Teqn in compressibleInterFoam, OpenFOAM v2.2.0 | dduque | OpenFOAM Running, Solving & CFD | 5 | June 20, 2015 23:37 |
OpenFOAM Foundation releases OpenFOAM 2.2.2 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | October 14, 2013 07:18 |