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 Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2008, 10: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, 04:14
Default
  #2
New Member
 
nh
Join Date: Nov 2010
Posts: 9
Rep Power: 16
taherehaghjou is on a distinguished road
Hi
What are these macros?
taherehaghjou is offline   Reply With Quote

Old   February 29, 2020, 05: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


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 09:25
specified shear at wall - temperature gradient - UDF - access violation error senD Fluent UDF and Scheme Programming 9 September 18, 2014 08:29
volume fraction, Mass fraction and Bulk Mass flow Dr.jones CFX 1 January 25, 2006 05:32
the Eulerian model and the lower volume fraction hx li FLUENT 2 October 27, 2005 07:17
how to calculate the gradient of volume fraction hxhua FLUENT 0 July 1, 2005 09:43


All times are GMT -4. The time now is 04:42.