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

udf problem

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2004, 18:31
Default udf problem
  #1
kanazawa
Guest
 
Posts: n/a
i inquire the posibility of modeling doxin emission using fluent.
  Reply With Quote

Old   April 6, 2004, 05:11
Default Re: udf problem
  #2
kanazawa
Guest
 
Posts: n/a
my meaning is that it is impossible to simulate other gas pollution emission (mercury)by fluent soft
  Reply With Quote

Old   April 6, 2004, 06:05
Default Re: udf problem
  #3
Ale
Guest
 
Posts: n/a
You should be able to simulate almost any pollutant emission, provided you have defined the required UDS and written a proper UDF with all the chemical and physical models you need to describe the formation of the particular pollutant you are interested in (I didn't understand if you are interested in mercury or dioxines).

What kind of problems are you encountering?

Regards,

Ale
  Reply With Quote

Old   April 6, 2004, 06:16
Default Re: udf problem
  #4
kanazawa
Guest
 
Posts: n/a
Dear Ale: thank you for your information, i want to simulate the distribution of mercury during sludge combustion, i used fluent soft two years ago, however, i do not sure i can simulate the distribution of mercury by soft.if i have the code, i can finish the project.hence, i inquire the possibility, if it can simulate the distribution, then i will do. of course, i have model of formation gas mercury.

bestregard

han
  Reply With Quote

Old   April 6, 2004, 06:24
Default Re: udf problem
  #5
kanazawa
Guest
 
Posts: n/a
Dear Ale: i find UDS is only mass flow, how to add other uds? this is my problem.

best regard

han
  Reply With Quote

Old   April 6, 2004, 08:46
Default Re: udf problem
  #6
Ale
Guest
 
Posts: n/a
Han,

I think that you can do what you'd like, but It does not mean that it will be easy. It can take some time to learn writing UDF, debug, solve numerical problems and modelling issues, and so on...

User Defined Scalars can be any scalar (concentration, molar or mass fraction, enthalpy...) with any unit. Mass flow rate is just the flux function that is used to solve the scalars' transport equations (this means that you should multiply by the fluid density the source terms for the scalars).

I think that it would be good for you to go through the UDF manual to learn UDF features and capability, to understand what kind of effort you will need and to see if you can afford it.

Best regards,

Ale
  Reply With Quote

Old   April 6, 2004, 21:25
Default Re: udf problem
  #7
kanazawa
Guest
 
Posts: n/a
Dear Ale: After i browse the udf manual, i did not find how to add the concentration scalar in fluent. In fact, i solve this problem in china by fortan code and wrote some code about the formation and transformation of gas mercury. however, i have not the copyright of fortran code , hence i can not use the fortran code in japan, the professor in japan suggest that i use fluent soft to solve the problem. hence, i inquire you if it is possibility of finishing the work using fluent soft. if it is impossible, i would not waste my time.

Though i get some information about this problem, i did not find how do add the user define scalar in fluent soft, can you give me more information?At the same time, i write to officer of fluent corporation .

best regard

han
  Reply With Quote

Old   April 7, 2004, 04:38
Default Re: udf problem
  #8
Ale
Guest
 
Posts: n/a
Hi, Again: I think that it is possible to do what you would like to do, and I ask other posters to confirm or deny what I am saying.

Read more carefully the UDF User's Guide. You'll find in chapter 9 all you can need to know on User Defined Scalars Transport Modelling.

You have to define the number of scalars you need (e.g. 1 scalar = 1 species concentration), and solve the corresponding transport equations. You'll never find how to add 'species concentration'...Fluent only sees scalars, no matter of what they are, it will be your care to make calculations consistent. You can define the source terms for each scalar by the macro DEFINE_SOURCE. You can use DEFINE_ADJUST to perform any calculation you need to repeat before each iteration. You should refer to the UG for further information and details.

It will need some effort to learn everything you need...so, If you ask me whether it is possible to solve the problem, I would answer yes; if you ask me whether you'll solve the problem in few days or even in few weeks, I would answer maybe not.

Good luck,

Ale
  Reply With Quote

Old   April 7, 2004, 20:33
Default Re: udf problem
  #9
kanazawa
Guest
 
Posts: n/a
Dear Ale: After discuss with you and other people, i know how to finish this work and i will try my best to finish this project in several months.thank you for your help.

bestregard

han
  Reply With Quote

Old   November 2, 2020, 05:03
Default
  #10
Member
 
Join Date: Apr 2020
Posts: 76
Rep Power: 6
mz_uon is on a distinguished road
Hello

Did you manage to solve your issue? Can you please guide me, as I am also trying to write a UDS to simulate pollutant emission per unit length. The guides/tutorials I found so far are not that clear.

Thank you
mz_uon is offline   Reply With Quote

Old   November 7, 2020, 12:40
Default
  #11
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 20
bluebase will become famous soon enough
Hi mz_uon,

please review the age of this thread...

Consider to describe your problem in detail on the respective subforum if you intending to use Fluent.

Describe there what you have already tried, and how it failed.
What did your literature research yield? It became more common over the last years to find open sources in supplementary material. Maybe your field of research is already open enough that you can find a better starting point.
bluebase is offline   Reply With Quote

Old   November 9, 2020, 05:57
Default
  #12
Member
 
Join Date: Apr 2020
Posts: 76
Rep Power: 6
mz_uon is on a distinguished road
Quote:
Originally Posted by bluebase View Post
Hi mz_uon,

please review the age of this thread...

Consider to describe your problem in detail on the respective subforum if you intending to use Fluent.

Describe there what you have already tried, and how it failed.
What did your literature research yield? It became more common over the last years to find open sources in supplementary material. Maybe your field of research is already open enough that you can find a better starting point.
Hello
Yes, I will post it on the respective forums. Thanks
mz_uon 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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 06:05
Problem with my udf july Fluent UDF and Scheme Programming 3 June 20, 2010 06:56
UDF problem mansha goraya FLUENT 0 October 29, 2007 00:31
udf compiling problem akr FLUENT 3 August 22, 2007 07:14
UDF problem chiseung FLUENT 4 January 10, 2002 09:58


All times are GMT -4. The time now is 14:02.