|
[Sponsors] |
June 19, 2020, 05:55 |
Export cell residuals to .dat file
|
#1 |
New Member
Bryan
Join Date: Jun 2020
Posts: 2
Rep Power: 0 |
Hello,
I know how to display cell residuals (/solve/set/expert) but I am running my cases on a cluster so I need data to be stored in a file to retrieve it when the case has finished running. So is there a way to modify what is stored in the .dat file to also get the saved cell residuals ? Currently I can see the cell residuals contour but I need to do at least one iteration on Fluent after the case ran on the cluster. Is there a way to get it immediately ? Of course I could do this 1 iteration everytime, but I wonder if there was a way to optimize it. I read several threads about standard residuals export or cell residuals but I have not found any thread talking about the export of the cell residuals. Bryan |
|
June 19, 2020, 07:50 |
Writing to Data File
|
#2 |
Senior Member
|
You can use DEFINE_RW_FILE to write (as well read) anything extra to case and data file. However, it all boils down to accessing what you want to write. Accessing cell residuals in a UDF may not be straightforward.
So, another approach could be to create CFF and UDM to save the cell residuals in UDM. Then UDMs are saved to data file automatically.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
June 23, 2020, 12:25 |
|
#3 | |
Senior Member
Lukas Fischer
Join Date: May 2018
Location: Germany, Munich
Posts: 117
Rep Power: 8 |
Quote:
thanks for your suggestions. The questions is why Fluent does not save the residual information in the .dat file if the case is run on the cluster. If the case is run locally Fluent manages to save the residuals in the .dat file. Is there something wrong with the fluent command on the cluster? |
||
June 23, 2020, 13:06 |
Cell Residuals
|
#4 |
Senior Member
|
If the cell residuals are saved in local machine, then those will also be saved on the cluster. Try saving cell residuals on local machine, then close Fluent session. Reload data file in new session and observe if it is still there without running one iteration. If it is there, then you can certainly do that in cluster as well. If not, then you know that those do not get stored.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
July 1, 2020, 05:49 |
|
#5 |
New Member
Bryan
Join Date: Jun 2020
Posts: 2
Rep Power: 0 |
Thank you,
you are right they don't get stored. |
|
Tags |
export data, residual field, residuals fluent |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] swak4foam compiling issues on a cluster | saj216 | OpenFOAM Installation | 5 | January 17, 2023 17:05 |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 19:13 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 11:59 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
[swak4Foam] funkySetFields compilation error | tayo | OpenFOAM Community Contributions | 39 | December 3, 2012 06:18 |