|
[Sponsors] |
January 28, 2008, 10:00 |
Gradient of Volume fraction in UDF
|
#1 |
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); } |
|
December 8, 2014, 04:14 |
|
#2 |
New Member
nh
Join Date: Nov 2010
Posts: 9
Rep Power: 16 |
Hi
What are these macros? |
|
February 29, 2020, 05:29 |
|
#3 | |
Senior Member
mahdi rostami
Join Date: Jan 2020
Posts: 155
Rep Power: 6 |
Quote:
what are the arguments for this macro for accessing mass fraction? |
||
|
|
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 |