CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Applying a location Based Gravity

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ping

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 9, 2019, 23:50
Default Applying a location Based Gravity
  #1
Senior Member
 
mohammad
Join Date: Dec 2010
Location: UK
Posts: 245
Rep Power: 16
mohammad is on a distinguished road
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+?
mohammad is offline   Reply With Quote

Old   October 10, 2019, 00:19
Default
  #2
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20
ping is on a distinguished road
you should be able to do it by setting gravity to zero and applying the required forces as a momentum source
mohammad likes this.
ping is offline   Reply With Quote

Reply

Tags
field function, formula, gravity


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 17:13.