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

Another UDF question

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 17, 2002, 08:06
Default Another UDF question
  #1
Christian
Guest
 
Posts: n/a
When I try to call "VaporizationLaw(p) in an otherwise working UDF, I get the message that *function "VaporizationLaw" not found*

Can anyone see what I should do?

Cheers Christian

  Reply With Quote

Old   July 17, 2002, 10:24
Default Re: Another UDF question
  #2
Christian
Guest
 
Posts: n/a
I have noticed that when I play around with the custom laws in droplet DPM, then the result changes.

Does anyone know why?

"play around with" means that I use the same laws as Fluent activates and in the same order. I just move them up and downwards in the custom law box and insert an "inactive" between some of the activated laws.

Cheers Christian
  Reply With Quote

Old   July 18, 2002, 15:13
Default Re: Another UDF question
  #3
Lanre
Guest
 
Posts: n/a
Unless you specify the "switching" between laws in your custom laws to match the default DPM switching, you'll obviously get different results.
  Reply With Quote

Old   July 19, 2002, 02:56
Default Re: Another UDF question
  #4
Christian
Guest
 
Posts: n/a
Hi Lanre Thanks for your reply.

You are saying that it is necessary with a switching law when I make a new law. Sounds just about right because I have noticed that my new law is not activated until "the other" laws that Fluent activates are finished, ie. In droplet DPM my law is not activated until the droplets are all evaporated.

Do you know how Fluent knows when to switch between the default droplet laws?

Do you know: When I try to call "VaporizationLaw(p) in an otherwise working UDF, I get the message that *function "VaporizationLaw" not found*

Maybe I could use this call in my new law instead of making a switch law?

Cheers Christian
  Reply With Quote

Old   July 21, 2002, 13:08
Default Re: Another UDF question
  #5
Lanre
Guest
 
Posts: n/a
The DPM model switches between laws in the sequence described in the Users Guide. The criteria for switching is based on the material properties of the DPM particle, e.g. when the vaporization temperature is reached, the vaporization law commences but only after the particle has gone through the heating law. You can request from Fluent the UDFs for the default DPM laws. The UDF Users Guide also has an example of UDF switching. Take a look there.
  Reply With Quote

Old   July 22, 2002, 02:51
Default Re: Another UDF question
  #6
Christian
Guest
 
Posts: n/a
Hi.

I am familiar with the switching example. But I was under the assumption that it was possible for the particle to "obey" more than one law at a time and that the criteria in all the laws were scanned for each calc.

I guess that what you say is that only one law can be active at a time and that this law is active until the criteria stated in it no longer is fulfilled.
  Reply With Quote

Old   July 22, 2002, 12:50
Default Re: Another UDF question
  #7
Lanre
Guest
 
Posts: n/a
That is correct...one law for one phenomena, e.g. boiling. Does your "particle" undergo several phenomological transformations simultaneously? I'd be interested to learn more.
  Reply With Quote

Old   July 23, 2002, 04:19
Default Re: Another UDF question
  #8
Christian
Guest
 
Posts: n/a
No. Not at present. But I am trying to understand how the UDF and particle laws work. I have testet several simple homemade laws to see the effects.

It is in that connection that I have observed that when the particle is in the, say boiling law, it remains there until the boiling stops. I.e. my law will first be activated after the boiling. I haven't read about this "restriction" in the manual and am therefore interested in knowing if there are other similar restrictions I should be aware of.
  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
A simple UDF question Pirooz Darabi FLUENT 0 October 31, 2007 15:22
Basic question: UDF for wall heat flux Carl FLUENT 1 August 5, 2006 19:01
Question about UDF summer FLUENT 1 July 18, 2006 10:13
UDF question Ryan FLUENT 2 July 5, 2006 14:54
A question about the dynamic mesh UDF Tango FLUENT 1 November 27, 2003 02:56


All times are GMT -4. The time now is 23:33.