new material with new chemical formula
Hi all,
Do you know how can I write a UDF for a new material with new chemical formula? |
Maybe. It depends on what you want the UDF to do... You forgot to say that.
|
Quote:
|
Quote:
|
Quote:
|
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? |
Quote:
thanks for your time and consideration Pakk. |
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. |
Quote:
|
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. |
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. |
All times are GMT -4. The time now is 07:00. |