|
[Sponsors] |
March 7, 2022, 17:03 |
How to remove gravity in openfoam
|
#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? |
|
March 8, 2022, 10:56 |
|
#2 |
Senior Member
Josh Williams
Join Date: Feb 2021
Location: Scotland
Posts: 113
Rep Power: 5 |
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?
|
|
March 8, 2022, 14:55 |
|
#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. |
||
March 8, 2022, 15:01 |
|
#4 |
Senior Member
Josh Williams
Join Date: Feb 2021
Location: Scotland
Posts: 113
Rep Power: 5 |
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)?
|
|
March 8, 2022, 16:08 |
|
#5 |
Member
Ching Liu
Join Date: Sep 2017
Posts: 52
Rep Power: 9 |
||
Tags |
gravity, openfoam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 04:18 |
Missing gravity in new Teqn in compressibleInterFoam, OpenFOAM v2.2.0 | dduque | OpenFOAM Running, Solving & CFD | 5 | June 21, 2015 00:37 |
OpenFOAM Foundation releases OpenFOAM 2.2.2 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | October 14, 2013 08:18 |