|
[Sponsors] |
October 9, 2019, 23:50 |
Applying a location Based Gravity
|
#1 |
Senior Member
mohammad
Join Date: Dec 2010
Location: UK
Posts: 245
Rep Power: 16 |
Hi,
I am trying to simulate flow and I would like to apply a formula (filed function) for the gravity option. My formula states that the value of the gravity is dependent on the local position, varying along the my vertical direction. However, when I apply any formulas for the gravity in which the gravity should be calculated based on other position of, receive an error. Is there any way to apply this type of formulas to STARCCM+? |
|
October 10, 2019, 00:19 |
|
#2 |
Senior Member
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20 |
you should be able to do it by setting gravity to zero and applying the required forces as a momentum source
|
|
Tags |
field function, formula, gravity |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
simpleFoam with gravity, based on interFoam | JonW | OpenFOAM | 1 | May 9, 2019 11:08 |
Pressure based vs density based solver | newbie384 | FLUENT | 2 | July 5, 2013 03:04 |
Question on Gravity | archdevil | Main CFD Forum | 9 | May 16, 2012 14:31 |
Ok to increase gravity gradually from 0 to 9.82? | Admo | FLUENT | 3 | February 23, 2012 11:43 |
UDF fails to model 9.81m/s^2 gravity | jpo | Fluent UDF and Scheme Programming | 2 | January 24, 2012 19:15 |