|
[Sponsors] |
Custom Parameter Output in Fluent using Scheme |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 13, 2018, 11:02 |
Custom Parameter Output in Fluent using Scheme
|
#1 |
Member
ishan
Join Date: Oct 2017
Posts: 78
Rep Power: 9 |
I am trying to write the O/P parameters(OPP) in Fluent in a custom format. I know that Fluent can write all the parameters in a file in a very convenient user readable way.
The issue is, I have to execute a large number of simulations and each simulation will write a file with the calculated OPP. As you can imagine, it is not very convenient if I have to open the file manually everytime to see the result of an OPP for different simulations. One solution to this I think can be the usage of „ports“ in Scheme programming. Once, I open a port, then I can move forward to write the OPP using the file write comands(hopefully). What Fluent prints in the console is something like this : Code:
---------------------------------------------------------------- Output Parameter Value Units ---------------------------------------------------------------- Parameter 1 500 k ------------------------------------------------- What I want is just „4.1509156248“ as a value. Once, I get just the numeric value, I can store it in a variable and make use of „ports“ to write that to a file. My question is how can I access the OPP in Fluent as a single data type( or „float“ in most cases) ? The end goal here is to append the multiple OPP of all the simulations in a file of format something like this: Code:
Parameter 1 Parameter 2 ---------------------------------------------------------- Simulation_1 someValue someValue ---------------------------------------------------------- Simulation_1 someValue someValue ---------------------------------------------------------- | | | | | | I know very little about Scheme. Until now I have been successful in making use of lists and „do“ loops and for that, I am thankful to the MIT Scheme reference guide and other sources. Also, I am using Fluent 17.0 |
|
Tags |
fluent, parameters, scheme programming |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
looking for a smart interface matlab fluent | chary | FLUENT | 24 | June 18, 2021 10:07 |
output data transfer from fluent | metu43331 | FLUENT | 4 | June 29, 2016 02:45 |
Problem in sampling data of custom field function in ANSYS FLUENT v14 | apek_great | ANSYS | 1 | February 26, 2014 06:10 |
OUTPUT form FLUENT | Chirag2302 | FLUENT | 2 | June 8, 2012 04:15 |
Integrating Scheme with a FLUENT journal file | Pete Willemsen | FLUENT | 0 | May 19, 2006 18:00 |