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

Gradient of Volume fraction in UDF

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2008, 09:00
Default Gradient of Volume fraction in UDF
  #1
Babar Sharfuddin
Guest
 
Posts: n/a
Hi, I need to calculate the Volume fraction gradient in my UDF. Added the following in my UDF allocate memory for storing the data in the UDF but while interpreting, it says "Scalar_Reconstruction: undeclared variable". Please help me.

{ Alloc_Storage_Vars(pDomain,SV_VOF_RG,SV_VOF_G,SV_N ULL); Scalar_Reconstruction(pDomain, SV_VOF,-1,SV_VOF_RG,NULL); Scalar_Derivatives(pDomain,SV_VOF,-1,SV_VOF_G,SV_VOF_RG, Vof_Deriv_Accumulate); }
  Reply With Quote

Old   December 8, 2014, 03:14
Default
  #2
New Member
 
nh
Join Date: Nov 2010
Posts: 9
Rep Power: 15
taherehaghjou is on a distinguished road
Hi
What are these macros?
taherehaghjou is offline   Reply With Quote

Old   February 29, 2020, 04:29
Default
  #3
Senior Member
 
mahdi rostami
Join Date: Jan 2020
Posts: 155
Rep Power: 6
mahdi-united is on a distinguished road
Quote:
Originally Posted by Babar Sharfuddin
;148075
Hi, I need to calculate the Volume fraction gradient in my UDF. Added the following in my UDF allocate memory for storing the data in the UDF but while interpreting, it says "Scalar_Reconstruction: undeclared variable". Please help me.

{ Alloc_Storage_Vars(pDomain,SV_VOF_RG,SV_VOF_G,SV_N ULL); Scalar_Reconstruction(pDomain, SV_VOF,-1,SV_VOF_RG,NULL); Scalar_Derivatives(pDomain,SV_VOF,-1,SV_VOF_G,SV_VOF_RG, Vof_Deriv_Accumulate); }
hi
what are the arguments for this macro for accessing mass fraction?
mahdi-united is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Weighted average volume fraction Yasser FLUENT 5 April 11, 2015 08:25
specified shear at wall - temperature gradient - UDF - access violation error senD Fluent UDF and Scheme Programming 9 September 18, 2014 07:29
volume fraction, Mass fraction and Bulk Mass flow Dr.jones CFX 1 January 25, 2006 04:32
the Eulerian model and the lower volume fraction hx li FLUENT 2 October 27, 2005 06:17
how to calculate the gradient of volume fraction hxhua FLUENT 0 July 1, 2005 08:43


All times are GMT -4. The time now is 12:15.