|
[Sponsors] |
June 29, 2013, 03:04 |
User defined Material database in FLUENT
|
#1 |
New Member
Ritesh
Join Date: Jun 2013
Location: India
Posts: 4
Rep Power: 13 |
Dear All,
I want to add new material in FLUENT database i.e. in User Defined Database, kindly give me informaion about how to create *.scm file for this purpose, it is mentioned that it can be created by Editor but i am unable to find this. Please reply me if anyone have idea about this. Thanks & Regards, Ritesh |
|
June 29, 2013, 14:18 |
|
#2 |
Member
Christopher Hershey
Join Date: Feb 2012
Location: East Lansing, Michigan
Posts: 41
Rep Power: 14 |
The User Defined Database is exactly what you mentioned a *.scm or rather a Scheme file loaded into fluent. An example given by Ansys is:
(air fluid (chemical-formula . #f) (density (constant . 1.225) (premixed-combustion 1.225 300)) (specific-heat (constant . 1006.43)) (thermal-conductivity (constant . 0.0242)) (viscosity (constant . 1.7894e-05) (sutherland 1.7894e-05 273.11 110.56) (power-law 1.7894e-05 273.11 0.666)) (molecular-weight (constant . 28.966)) ) This is found at http://aerojet.engr.ucdavis.edu/flue...ug/node321.htm The above text is what you would copy and paste into a text editor and save with the .scm extension. Once you save your material, then it can be loaded into fluent when you click on the User-Defined-Database link in the Materials window. Notice that the material name "air" is first and the material type "fluid" is second. Each parameter described in the Scheme file will be loaded into the new material's properties. |
|
June 30, 2013, 03:44 |
|
#3 |
New Member
Ritesh
Join Date: Jun 2013
Location: India
Posts: 4
Rep Power: 13 |
Tanks Hershey,
for this suggestion, but i am not able to create file with .scm file, how it is to be created in which text editor. |
|
June 30, 2013, 09:30 |
|
#4 | |
Member
Christopher Hershey
Join Date: Feb 2012
Location: East Lansing, Michigan
Posts: 41
Rep Power: 14 |
Quote:
You will notice that the file you just saved does not have any associated programs that open it automatically, but Notepad can still read it and Fluent will definitely read it. |
||
October 19, 2013, 05:06 |
|
#5 |
New Member
hamada
Join Date: Oct 2013
Posts: 1
Rep Power: 0 |
I have the same problem. i used the mentioned method using notepad, but it is't correct.there any other method to create file.scm
|
|
October 30, 2013, 10:40 |
|
#6 |
Member
Christopher Hershey
Join Date: Feb 2012
Location: East Lansing, Michigan
Posts: 41
Rep Power: 14 |
I am sorry, but I forgot a set of parentheses around the material that I specified above.
The correct way should be: ( (air fluid (chemical-formula . #f) (density (constant . 1.225) (premixed-combustion 1.225 300)) (specific-heat (constant . 1006.43)) (thermal-conductivity (constant . 0.0242)) (viscosity (constant . 1.7894e-05) (sutherland 1.7894e-05 273.11 110.56) (power-law 1.7894e-05 273.11 0.666)) (molecular-weight (constant . 28.966)) ) ) As for the scheme file, it is just an extension type. Use whichever editor you prefer. With something like notepad, simply saying "material.scm" will not do because usually the default file type is a ".txt". However, if you specify the save file type to "All Files "."" then you remove the automatic .txt appending to your save name. Then the ".scm" that you have in the file name will be used. Alternatively, you may have a blank ".scm" file and load it into Fluent. Then you will have the option to copy materials (solid, fluid or mixture) that you specified in Fluent over to your scheme file. That makes it convenient if you ever need to recall the materials you used in previous simulations. Please post with questions about this, but review how file types are saved. I have verified that the above method now works. However, I want to make sure that my instructions are clear. |
|
April 6, 2018, 00:29 |
How to add Solid materials having impurities?
|
#7 |
New Member
SAYANTAN BISWAS
Join Date: Mar 2018
Location: Mumbai
Posts: 17
Rep Power: 8 |
I'm working on Copper electro-refining.
The composition of the Anode, lets say 98%, rest are Zn, Silver, Gold, Al etc. How do I define/ create new solid material like this? I think I have to create User Defined database, but how to write it..properties can be found from literature but how will I specify the composition of different materials. |
|
August 19, 2019, 06:46 |
|
#8 | |
Member
Thamilmani M
Join Date: Sep 2017
Location: IIT Bombay, Mumbai
Posts: 52
Rep Power: 9 |
Quote:
__________________
Always Thedal |
||
August 20, 2019, 01:27 |
|
#9 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
use fluent GUI to create materials, then save data base to file
best regards |
|
July 27, 2020, 15:14 |
|
#10 |
New Member
mehedi hasan tusar
Join Date: May 2018
Posts: 1
Rep Power: 0 |
How to save material in data base file? can you please elaborate. Thanks
|
|
November 6, 2021, 04:55 |
|
#11 |
New Member
Alan
Join Date: Apr 2020
Posts: 4
Rep Power: 6 |
Dear Thedal,
did you manage to import such data into fluent, with temperature dependency features? I mean, I have some Physico-chemical properties data, however, they are versus the change in temperature. So, could you guys kindly help me out with how to do this? |
|
November 6, 2021, 04:56 |
|
#12 |
New Member
Alan
Join Date: Apr 2020
Posts: 4
Rep Power: 6 |
Btw, it might be hard to get back to this website, so, I would be thankful if you DM me via this number:
+60179275299 Alan Zandie |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Two questions on Fluent UDF | Steven | Fluent UDF and Scheme Programming | 7 | March 23, 2018 04:22 |
user defined turbulence model | manuutin | STAR-CD | 5 | October 14, 2009 06:29 |
UDF - Derivatives for User Defined Memory Variable | Sandilya Garimella | FLUENT | 0 | January 14, 2008 11:39 |
How to change the material database for Fluent | sxf | FLUENT | 1 | May 3, 2005 17:37 |
Creating new material properties in database | rajeev | FLUENT | 1 | July 13, 2001 04:06 |