CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

modify gravity

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 2 Post By pakk

Reply
 
LinkBack Thread Tools Display Modes
Old   April 2, 2013, 02:11
Default modify gravity
  #1
New Member
 
Sumit Tambe
Join Date: Feb 2013
Posts: 8
Rep Power: 4
Tamsu is on a distinguished road
I want to define x component of gravity as a sinusoidal function of time, how to do it?
Any UDF? what is Journal file and how do i use it here?
Or is there any way by which I can modify body force term in N-S equations?
Tamsu is offline   Reply With Quote

Old   April 2, 2013, 02:25
Default
  #2
Senior Member
 
Ji Junjie
Join Date: Feb 2010
Location: Shanghai, China
Posts: 105
Rep Power: 7
gearboy is on a distinguished road
Quote:
Originally Posted by Tamsu View Post
I want to define x component of gravity as a sinusoidal function of time, how to do it?
Any UDF? what is Journal file and how do i use it here?
Or is there any way by which I can modify body force term in N-S equations?
You can use DEFINE_SOURCE to add your gravity momentum source(N/m3) into x momentum equation.
gearboy is offline   Reply With Quote

Old   April 2, 2013, 02:38
Default
  #3
New Member
 
Sumit Tambe
Join Date: Feb 2013
Posts: 8
Rep Power: 4
Tamsu is on a distinguished road
[QUOTE=gearboy;417743]You can use DEFINE_SOURCE to add your gravity momentum source(N/m3) into x momentum equation.

Thanx a lot, got it. used CURRENT_TIME as time variable. UDF Manual also helped.

Last edited by Tamsu; April 2, 2013 at 05:40.
Tamsu is offline   Reply With Quote

Old   November 5, 2014, 06:27
Default
  #4
New Member
 
Join Date: Sep 2014
Posts: 3
Rep Power: 2
nspal1312 is on a distinguished road
I am facing same problem...
Can u tell me steps to follow?
Plz mail me udf for this
nirajpaliwal1312@gmail.com
nspal1312 is offline   Reply With Quote

Old   November 5, 2014, 06:40
Default
  #5
Senior Member
 
Join Date: Nov 2013
Posts: 670
Rep Power: 9
pakk is on a distinguished road
Quote:
Originally Posted by nspal1312 View Post
I am facing same problem...
Can u tell me steps to follow?
You can use DEFINE_SOURCE to add your gravity momentum source(N/m3) into x momentum equation.
Use CURRENT_TIME as time variable. UDF Manual can also help.
Quote:
Plz mail me udf for this
nirajpaliwal1312@gmail.com
This will of course never happen. You can get help on writing your udf here, but I don't think a stranger will do all the work for you and mail it to you. I'd be surprised if these requests on message boards ever work.
stuart23 and Sun like this.
pakk is offline   Reply With Quote

Old   November 6, 2014, 07:36
Default
  #6
Senior Member
 
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 16
stuart23 will become famous soon enough
Quote:
Originally Posted by pakk View Post
This will of course never happen. You can get help on writing your udf here, but I don't think a stranger will do all the work for you and mail it to you. I'd be surprised if these requests on message boards ever work.
Quote Of The Day
__________________
http://bc247.wordpress.com
stuart23 is offline   Reply With Quote

Reply

Tags
body force, gravity, udf

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
Modify gravity Tamsu FLUENT 0 April 2, 2013 02:08
UDF to modify gravity via M_gravity[ND_ND] or DEFINE_ADJUST jpo Fluent UDF and Scheme Programming 17 June 21, 2012 10:37
UDF to modify gravity vector ? jpo Fluent UDF and Scheme Programming 3 January 24, 2012 10:10
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


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