CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Spatially-Varying Body Force

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

LinkBack Thread Tools Display Modes
Old   August 27, 2010, 11:15
Default Spatially-Varying Body Force
New Member
Matt James
Join Date: Jun 2010
Location: Marinette,WI, USA
Posts: 25
Rep Power: 9
mdjames is on a distinguished road
Hello all,

Hopefully the learned among us can shed some light on this for me. I've not come across this sort of thing in the forums (my apologies if I've missed it and needlessly reposted!)

I'm working on getting a pressure term in my momentum equation to be not only time varying (as it is now) but spatially varying. Something to the tune of P(x,t)=a*cos(kx-wt), that kind of thing. As you can imagine I'm studying wave motion near a flat bottom. I'm not at all interested what's going on near any sort of free surface. My run is simply a half-channel.

I'd be completely content if someone could point me in the direction of a solver that applies a spatially-varying force. Hopefully I could tease the code out from that.

Barring that possibilty, how the heck would someone go about that?

Thanks so much as always for any help you might be able to lend!
mdjames is offline   Reply With Quote


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 add time varying body force hsieh OpenFOAM Running, Solving & CFD 2 July 26, 2010 11:43
Body force at the cell face Souviktor Fluent UDF and Scheme Programming 0 March 31, 2009 08:54
Large varying body force vs. Rhie-chow correction john Main CFD Forum 1 May 23, 2007 02:27
how to include body force in cfx selvam R.P CFX 4 November 25, 2005 05:01
UDF for lift force on a bluff body sawa FLUENT 2 April 11, 2005 03:06

All times are GMT -4. The time now is 06:25.