CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

custom pressure field at the faces

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 3, 2009, 09:09
Default custom pressure field at the faces
  #1
New Member
 
souviktor
Join Date: Mar 2009
Posts: 11
Rep Power: 17
Souviktor is on a distinguished road
Hi,
I am simulating a configuration with high non linear body force using udf.Obviously fluent stores this body force at the cell center.So during calculation of velocity if the body force is needed at the cell face it has to interpolate by whatever scheme.But the body force is so nonlinear that it incorporates large error.
I have hand written code that solves this issue by adding a part of body force(the highly non linear part which varies only spatially) to the pressure and defining pressure and velocity in a staggered way.there I have two types of cells ,scalar and vector.scalars(pressure ,density,temperature) are defined at the scalar cell center and vectors(velocity)are defined at the vector cell center.the face of a scalar cell is center of the vector cell.(please see the attachment)


So essentially I define pressure (with a part of body force added to it) at the scalar cell center and velocity is computed by using pressure at its two faces.

Fluent on the contrary uses collocated scheme which means defining pressure and velocity at the same point.


In fluent how can I at all achieve this?can I use define_adjust udf to manually set the pressure prior to each iteration?

any suggestion is greatly appreciated ..please pardon me if I am making any fundamental mistake in understanding and describing the situation!
Attached Files
File Type: doc grid.doc (42.0 KB, 9 views)
Souviktor is offline   Reply With Quote

Reply

Tags
face, pressure, staggering


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
How to read pressure at discrete points paka OpenFOAM 16 April 28, 2020 08:26
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
Problem with the pressure field using interFoam zoune OpenFOAM Running, Solving & CFD 20 February 4, 2008 19:42
How to get Pressure field from velocity field qunwuhe@hotmail.com Main CFD Forum 4 October 14, 2007 08:38
Elemental Drag Custom Field Function George Gardner FLUENT 0 October 12, 2007 09:00


All times are GMT -4. The time now is 14:09.