|
[Sponsors] |
Save -> Import , User funtions and expressions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 7, 2016, 01:13 |
Save -> Import , User funtions and expressions
|
#1 |
Senior Member
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11 |
Is there a way that you are able to:
-Save User functions and Expressions -Than import them into another simulation Aplications are in my case regarding material properties as I have temperature dependat thermal properties and would like to use this materials in diferent simulations. or is there a beter way? Or is it posible to somehow save the material into cfx that it would stay there It takes me too much time now to set up two diferent properties for two materails than expressions for (T) and set these as a mat. property. Thank you |
|
July 7, 2016, 01:56 |
|
#2 |
Senior Member
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12 |
I think what you are trying to do is to save the CCL in Pre. When you click on that little disk symbol with the 3 green dots, Pre lets you save a *.ccl file. You can then load that file into another simulation in Pre and all your expressions, simulation setup (turbulence models, materials, etc) and your monitor points etc. are loaded.
Is that what you needed? |
|
July 7, 2016, 01:58 |
|
#3 |
Senior Member
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11 |
i can only see one shortcut now, that is to copy the ccl (save it as text) for that material I would like than owerrite one of the materials ccl when importing.
Is this it or can you save material into library? |
|
July 7, 2016, 02:05 |
|
#4 |
Senior Member
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11 |
Thank you Maxim
This will be great if the (loaded (temperature dependant) tabular data will still work) on import |
|
July 7, 2016, 02:12 |
|
#5 |
Senior Member
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12 |
in PRE: File --> Export --> CCL
Yes, you can edit that file with a text editor and add/edit things. But I only recommend that if you know what you do. Saving material to the library should work too - I haven't tried that myself, though. |
|
July 7, 2016, 02:38 |
|
#6 |
Senior Member
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11 |
Ok I see now,
I need to import more ccl. files to activate all the properties of one material: so for GJL 250 with (T) dependant heat cappacity and (T) dependat thermal conductivity I need to import: -ccl of the material gjl250 2x -ccl of User function (tabular data of T dependant properties) 2x -ccl of expression that cals the user function(T) so 5 ccls for one material Thank you a lot this will save hours and has oppened a new branch of posibilites to me. |
|
July 7, 2016, 02:45 |
|
#7 |
Senior Member
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12 |
with my project, I need only to save the CCL once in Pre. If I load that again, _all_ settings are loaded again. Not sure why you need to load 5 ccl files... But I don't work with those complicated materials so I can't say.
When you import the CCL, you have the option to "add" or "replace" the ccl that is in place (already loaded). Choose accordingly |
|
July 7, 2016, 02:51 |
|
#8 |
Senior Member
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11 |
||
July 7, 2016, 03:01 |
|
#9 |
Senior Member
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11 |
Ou this is perfect
I am able to combine those 5 and save as 1-ccl file just for this material i am now able to do this for more materials and just call them in. Example of ccl code for my GJL250 material Including those 5 setings in cfx and temperature dependant properties https://drive.google.com/file/d/0Bw9...ew?usp=sharing |
|
|
|