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

UDF{ C_VOF(c,pt[n]) } two phase flow

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 20, 2003, 04:26
Default UDF{ C_VOF(c,pt[n]) } two phase flow
  #1
ROOZBEH
Guest
 
Posts: n/a
Hi all; I want to add mass sources to the mass equation of each phase of a multiphase flow(VOF), to model the mass transfer between the phases. My source terms contain the volume fraction of one of the phases. Therefore I have to use the multiphase macro ( C_VOF(c,pt[n]) ). When I written my UDF , during the initialization in Fluent, I encountered to an error : FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: ()

I think that I must use subdomain,subthread,getdomain,...etc. !? Please someone guide me . Thanks.
  Reply With Quote

Old   April 20, 2003, 11:46
Default Re: UDF{ C_VOF(c,pt[n]) } two phase flow
  #2
Murali
Guest
 
Posts: n/a
<font face = "courier new">This error could come coz of many reasons:

(1) When u try to use a variable which is yet not allocated.

(2) When u recompile your UDF code without restarting fluent

(3) When u try to access a variable which is not permitted to be accessed.

Check your code for these

Murali</font>
  Reply With Quote

Old   April 21, 2003, 04:09
Default Re: UDF{ C_VOF(c,pt[n]) } two phase flow
  #3
ROOZBEH
Guest
 
Posts: n/a
Hi; I think that this error appears from the using of the macro C_VOF(c,pt[n]).Because when I use this macro,this error appears and when I change this macro to the another macro,I have not any errors. do you have any informations about the using of this macro ? thanks.
  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
Two Phase Darcy flow with gravity -> problem Cyp OpenFOAM Programming & Development 0 November 17, 2010 07:58
two phase flow + ice phase and breaking soeren87 OpenFOAM Running, Solving & CFD 0 September 19, 2010 10:20
UDF of two phase flow : drag coefficient superxeonman FLUENT 0 May 21, 2008 21:53
Validation for laminar Disperse phase flow shashwat Main CFD Forum 0 April 4, 2008 02:20
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 21:31


All times are GMT -4. The time now is 11:03.