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

UDF for splashed mass in impinging sprays

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2021, 13:05
Default UDF for splashed mass in impinging sprays
  #1
New Member
 
Christoph
Join Date: Jan 2021
Posts: 4
Rep Power: 5
Crisu is on a distinguished road
Hi Community,

I am modeling an impinging spray. I have added a UDF for the splashed mass (see attachment). However, the simulation crashes every time when the spray impacts the surface.

Now I have two questions:
1) Did I do something wrong in the spray_mass.c?
2) Or do I need to define film_splash.c too?

It is the first time, I am using a UDF, and I am inexperienced with that. So I would be happy about any hint you could give me. Thank you!

Christoph
Attached Images
File Type: png UDF_spray_mass.png (195.3 KB, 15 views)
Crisu is offline   Reply With Quote

Old   February 23, 2021, 18:19
Default
  #2
Senior Member
 
ksrivast's Avatar
 
Kislaya Srivastava
Join Date: Sep 2017
Location: Convergent Science, Northville MI
Posts: 162
Rep Power: 8
ksrivast is on a distinguished road
Hello Christoph,

You have altered the IN macro list to include passed_splash_var as a VALUE variable (not advised). splash_var (splash energy/weber no.) is not included within the list of CONVERGE variables being passed to the splash_mass.c UDF and hence is not available. Your log file should state an error resolving "passed_splash_var" as an argument. It is only available within splash_crit.c and splash_radius.c. Users are advised to not include passed_* variables from one UDF to different UDFs. Different UDFs have different variables being passed onto them.

We'd be happy to develop a working UDF for you to offer what you seek. Please contact support@convergecfd.com . Please use your official email for all correspondence with Convergent Science. Please mention the your UDF request, attach a case setup (if possible) and add my name, and the cfd-online thread, as reference.


Sincerely,
__________________
Kislaya Srivastava
Principal Research Engineer | Applications
CONVERGECFD
ksrivast is offline   Reply With Quote

Old   February 23, 2021, 18:54
Default
  #3
Senior Member
 
ksrivast's Avatar
 
Kislaya Srivastava
Join Date: Sep 2017
Location: Convergent Science, Northville MI
Posts: 162
Rep Power: 8
ksrivast is on a distinguished road
Hello Christoph,

To add to my previous comment, and since you pointed it out yourself, you can achieve what you're looking for by relying on film_splash.c, instead of splash_mass.c. Within film_splash.c, uncomment the film splash model routine (user_film_splash_*) you require and modify the splashed mass (rmsplash) calculation.

Hope this helps.

Sincerely,
__________________
Kislaya Srivastava
Principal Research Engineer | Applications
CONVERGECFD
ksrivast 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
Disappearing mass when using udf inlet profile divergence Fluent UDF and Scheme Programming 5 January 2, 2021 15:56
Setting up a UDF to monitor UDS mass fraction dinknflicka Fluent UDF and Scheme Programming 1 January 15, 2019 21:17
Problems regarding mass transfer UDF Yifan_G Fluent UDF and Scheme Programming 8 December 8, 2014 11:21
UDF for Mass Flow at the Outlet: ERROR ACCESS VIOLATION I-mech Fluent UDF and Scheme Programming 1 May 23, 2014 13:37
I need UDF help. S.Whitney FLUENT 0 October 15, 2007 12:29


All times are GMT -4. The time now is 07:28.