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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2019, 12:07
Default Save case and data in a different folder using Journal
  #1
New Member
 
South Yorkshire
Join Date: May 2018
Posts: 25
Rep Power: 3
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, 02:45
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 709
Rep Power: 14
AlexanderZ is on a distinguished road
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 16:12.