CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Save case and data in a different folder using Journal

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2019, 13:07
Default Save case and data in a different folder using Journal
  #1
Member
 
South Yorkshire
Join Date: May 2018
Posts: 33
Rep Power: 8
asking is on a distinguished road
Hi,

I am running the same model multiple times, just changing one parameter (inlet velocity). I wrote different journals that change the velocity but I am having problems saving the data and case files in a different folder. That way, when I run the model next time it wont overwrite the files.

Basically, I want to save the data, case, and output files (displacement) in a different folder.

Thanks !

Regards,
Daniel
asking is offline   Reply With Quote

Old   June 17, 2019, 03:45
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
make a loop and save your case/data files
Code:
(do ((i 1 (+ i 1)))((> i 3))
(ti-menu-load-string (format #f "file read-case \"YOU_CASE_FILE.cas\" OK \n" i))
(ti-menu-load-string (format #f "file write-data \"FULL_PATH_WITH_NAME_~a\" \n" i))
)
you will get
FULL_PATH_WITH_NAME_1
FULL_PATH_WITH_NAME_2
FULL_PATH_WITH_NAME_3

best regards
AlexanderZ is offline   Reply With Quote

Reply

Tags
fluent, tui


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] How to get the coordinates of velocity data at all cells and at all times vidyadhar ParaView 9 May 20, 2020 21:06
save case & data Saman95 FLUENT 1 August 12, 2018 07:09
save PARTICLE information in CASE and DATA Alex FLUENT 1 September 1, 2010 11:01
how to save case data and data during iteration? JOHN FLUENT 3 October 10, 2006 20:40
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27


All times are GMT -4. The time now is 15:07.