|
[Sponsors] |
November 3, 2019, 13:19 |
Fluent .dat problems on HPC
|
#1 |
New Member
ZT
Join Date: Nov 2019
Posts: 14
Rep Power: 7 |
Currently moving from my own computer to HPC. Learning a lot about bash scripts and have run into a couple of barriers.
When writing a .dat file, it appears to only give me the last timestep saved in that .dat file. Do I need to write a new .dat file for every timestep along the way in order for it to save every timestep? I am using TecPlot as my post-processor if that helps. If this is the case, is there another command for that that doesn't end with me using 6000 lines of code in one .jou file? Do I also need to write a .cas file along with the .dat file? No moving mesh so I wouldnt have thought it needed it on every ts, just at the end. .jou file posted below for you to have a look, cheers in advance. ; Read case file rc FFF.1-Setup-Output.cas.gz ; Initialize the solution /solve/initialize/hyb-initialization ; the time-step size as 0.01 (seconds) /solve/set/time-step 0.01 ;No of it ;Max it per time step /solve/dual-time-iterate 1000 20 ; Write data file (compressed, iteration number included in file name) wd initial_testing_output_ts10.gz ;No of it ;Max it per time step /solve/dual-time-iterate 1000 20 ; Write data file (compressed, iteration number included in file name) wd initial_testing_output_ts20.gz ; Exit FLUENT exit yes Last edited by Tait10; November 3, 2019 at 19:54. |
|
November 4, 2019, 11:04 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
The .dat file only contains the variables at the time-step when it is saved. If you want data from multiple time-steps, then yes you need to save a bunch of .dat files.
You do not need to save a .cas file every time since the mesh does not change. Easiest way is to setup automatic saving of .dat every x time-steps. In the GUI you'd go to File=>Write=>Autosave in the ribbon. But you can also find it in Calculation Activities=> Autosave. If you want to use TUI commands, they are: Code:
/file/auto-save/root-name /file/auto-save/append-file-name /file/auto-save/case-frequency /file/auto-save/data-frequency /file/auto-save/retain-most-recent-files Brief tutorial: Code:
/file/auto-save/root-name "path/myCase" Then you will need: Code:
/file/auto-save/append-file-name-with time-step 6 or /file/auto-save/append-file-name-with flow-time 6 Code:
/file/auto-save/case-frequency [arg] Code:
each-time if-case-is-modified if-mesh-is-modified Code:
/file/auto-save/data-frequency 1 Code:
/file/auto-save/retain-most-recent-files no Actual example: Code:
/file/auto-save/append-file-name time-step 6 /file/auto-save/case-frequency if-mesh-is-modified /file/auto-save/data-frequency 1 /file/auto-save/retain-most-recent-files no |
|
November 4, 2019, 16:34 |
|
#3 | |
New Member
ZT
Join Date: Nov 2019
Posts: 14
Rep Power: 7 |
Quote:
|
||
Tags |
.dat, bash script, batch file, transient 3d |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fluent issue in windows hpc pack 2012 r2 | mosesHPC | FLUENT | 17 | January 12, 2019 16:01 |
Write crashed .cas & .dat for Fluent | yonpanman | FLUENT | 0 | February 9, 2017 09:59 |
problems running fluent through matlab | galapago | FLUENT | 1 | October 10, 2013 10:20 |
Fluent Parallel Programing using Windows HPC 2008 | santoshgoku | FLUENT | 22 | February 23, 2013 01:56 |