CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   How to write read/write piecewise linear variation of properties in fluent (http://www.cfd-online.com/Forums/fluent/96873-how-write-read-write-piecewise-linear-variation-properties-fluent.html)

foamcfd February 3, 2012 11:00

How to write read/write piecewise linear variation of properties in fluent
 
I am running several cases which involves piecewise linear variation of 3 properties and functions. I wouldn't have problem if I have to enter for 4-5 pints. But I need to enter for around 15 points which is really painfull. So I was wondering if there is any way in fluent wherein I can read the file and it would update the linear variation of properties. So I don't need to do it manually.

Thanks

xrs333 February 5, 2012 12:02

Use text command, here is a demo:

/define/materials/change-create aluminum steel ;;
yes constant 8030 ;; Density
yes piecewise-linear 8 300 505 900 585 1500 450 1600 690 1620 750 1621 3e4 1622 6e4 1623 9e4 ;; Cp
yes piecewise-linear 8 300 15 900 20 1500 30 1600 31 1620 32 1621 33 1622 34 1623 35 ;; Thermal_Conductivity
no ;; Overwrite?


Edit the command in a text-editor, copy these lines and paste them in the console of FLUENT, or run as a journal.

foamcfd February 7, 2012 09:22

Thanks. It works

subbu February 23, 2012 23:13

How to set a material(eg. aluminum or steel) to my gambit model in fluent?
 
I m from electrical background and i m new to this.. I hav created my wind turbine model in gambit and now i need two things to be done in it

1. to set aluminum as the material for one portion and remaining portion as steel.
2. want to simulate the model only for half rotation (180 degrees and not 360 degrees) in fluent

Anybody please help me out in this..

Thanks & Regards,
Subbu:)


All times are GMT -4. The time now is 03:36.