|
[Sponsors] |
February 8, 2021, 15:57 |
new material with new chemical formula
|
#1 |
New Member
Sara
Join Date: Apr 2020
Posts: 19
Rep Power: 6 |
Hi all,
Do you know how can I write a UDF for a new material with new chemical formula? |
|
February 9, 2021, 07:31 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Maybe. It depends on what you want the UDF to do... You forgot to say that.
|
|
February 9, 2021, 11:56 |
|
#3 |
New Member
Sara
Join Date: Apr 2020
Posts: 19
Rep Power: 6 |
||
February 9, 2021, 14:41 |
|
#4 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
||
February 9, 2021, 16:41 |
|
#5 |
New Member
Sara
Join Date: Apr 2020
Posts: 19
Rep Power: 6 |
||
February 10, 2021, 04:42 |
|
#6 | |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Quote:
On the first post you forgot to say what the UDF should do, and on the second post you forgot to say that you have a droplet-particle. I'm afraid to start to answer, because maybe you forgot to mention something else... Why do you need molecular weight for a droplet? For which physics is that relevant? What should the weight be? A constant that you know? Calculated from other values? Don't make us guess what you need, tell us? |
||
February 12, 2021, 15:12 |
|
#7 | |
New Member
Sara
Join Date: Apr 2020
Posts: 19
Rep Power: 6 |
Quote:
thanks for your time and consideration Pakk. |
||
February 12, 2021, 16:05 |
|
#8 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
If the molwt is not given in the Fluent screen, it is because it is not used in any calculation at all.
You seem to have a model in your mind where heat transfer depends on molecular weight. Which is fine, but apparently Fluent does not use such a model. So I guess that your real question is: how can I use a model that includes the molecular weight in the heat transfer calculation of your droplet-particles? Honestly: I don't know. Sorry that I could not get the answer, but I hope I helped to clarify your question. |
|
February 12, 2021, 16:09 |
|
#9 | |
New Member
Sara
Join Date: Apr 2020
Posts: 19
Rep Power: 6 |
Quote:
|
||
February 13, 2021, 03:15 |
|
#10 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
If the model uses molwt, Fluent needs to know this number, so there has to be an input field for this.
So there are three options: 1. There is an input field for molwt for particle droplets, but you can not find it, possibly because you are looking in the wrong place. 2. The heat transfer model that uses molwt can not be used for droplet particles. 3. The programmers of Fluent made a very stupid mistake. I don't know which of the three is the truth, but in no case is the solution "write a UDF for molwt". Note: I am only changing your question to help you. You are asking the wrong problem. It's an X/Y problem, if you know what that means. |
|
February 14, 2021, 03:00 |
|
#11 | |
New Member
Sara
Join Date: Apr 2020
Posts: 19
Rep Power: 6 |
Quote:
I realized that in the Create/edit material dialog box there is a button named "user-defined database" in which you can define your material with a specific chemical formula as well as any properties. I share it since it would be useful for others. |
||
Tags |
heat and mass transfer, multi-component, new material definition |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting the height of the stream in the free channel | kevinmccartin | CFX | 12 | October 13, 2022 22:43 |
Domain Reference Pressure and mass flow inlet boundary | AdidaKK | CFX | 75 | August 20, 2018 06:37 |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
error message | cuteapathy | CFX | 14 | March 20, 2012 07:45 |
Two-Phase Buoyant Flow Issue | Miguel Baritto | CFX | 4 | August 31, 2006 13:02 |