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

8th order polynomial function(VOF smoothening) + ENO discretisation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 20, 2012, 02:14
Default 8th order polynomial function(VOF smoothening) + ENO discretisation
  #1
New Member
 
Jacky
Join Date: Jul 2011
Posts: 24
Rep Power: 6
bharat.cmeri is on a distinguished road
HI all....... I am trying to smoothen vof field in following way:

- LVIRA for finding normal to interface,
- 8th order polynomial function for smoothened vof field,
- ENO discretisation for convection terms

I am facing follwong difficulties while implementing it in FLUENT:

Q 1 - How do I get normal vector from FLUENT so that LVIRA can be implemented ? I know Fluent uses Youngs reconstruction method in which normal is -ve gradient of vof. I hv found some fluent storage variables for vof gradient viz.SV_VOF_RG
So my question is can I use following for interface normal vector and thereby can I modify it by storing in it value returned by LVIRA ?
C_STORAGE_R_NV(c,t, SV_VOF_RG)

Q 2 - I need normal distance of interface form cell center. I found a macro in sg_vof.h viz. Get_Surface_Distance(cell_t c, Thread *t). Can somebody tell me what this macro returns ?????

Q 3 -Can somebody tell me How should I implement MINMOD function of ENO discretisation scheme in FLUENT platform ?
To be more precise I need to do following:

du/dx = (U_{right} - U_{center})/deltaX + 0.5*dt*MINMOD(a,b)
where a and b are some other complex terms....
Using which DEFINE macro or any other macro can it be done in FLUENT ????

ANY HELP WOULD BE APPRECIATED............

Regards,
Bharat
bharat.cmeri is offline   Reply With Quote

Old   July 4, 2012, 11:51
Default
  #2
New Member
 
cincin
Join Date: May 2011
Posts: 5
Rep Power: 6
cincin1234 is on a distinguished road
hello, i am working on the same kind of problem, tracking free surface(water and air) in VOF model. and calculate the distance from the centroids of the water part to the interface. i got some suggestions of considering the interface horizontal, then using the volume fraction will essily give the answer. but it is just a rough approximation.your idea is good. have you performed it?
cincin1234 is offline   Reply With Quote

Reply

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
Second Order Discretisation with Porous Media giogio FLUENT 1 March 21, 2008 13:29
Higher order polynomial problem... Markas FLUENT 0 February 20, 2008 17:44
UDF Format 8th Order Polynomial Jason FLUENT 2 June 24, 2007 13:21
UDF Format 8th Order Poly Fit Jason FLUENT 0 June 8, 2007 12:36
Discretisation scheme in CFX-1st or 2nd order? Pete CFX 10 January 12, 2005 13:48


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