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

Saving datas from simulation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2018, 03:54
Post Saving datas from simulation
  #1
New Member
 
Anais
Join Date: Jun 2018
Posts: 3
Rep Power: 8
supermais is on a distinguished road
Hi,
I want to do a simulation which give datas on temperature at each nodes of the models and recover the datas of this simulation to put them as the initial conditions from an other simulation on ANSYS Mechanical/CFD-Flo.
I tried to create files :
*CREATE,Skript_TempKN_01,gui
*mwrite,T_Knoten,Knotentemperaturen_01,TXT,,JIK
(2E16.8)
*END
! This is fpor reading
*CREATE,Skript_TempKN_READ_01,gui
*VREAD,T_Knoten,'Knotentemperaturen_01','TXT',,JIK ,2,n_anz
(2E16.8)
*END

and fill in at the end on the simulation:
/INPUT,Skript_TempKN_01,gui
/INPUT,Skript_TempKN_READ_01,gui

and then put them in a tab
*DEL, T_Knoten
allsel


*get,n_arb,node,,num,min ! erste Knotennummer
*get,n_anz,node,,count ! Knotenanzahl

*DIM, T_Knoten,ARRAY,n_anz,2 ! Array für Ergebnisdaten anlegen

*DO,i,1,n_anz,1
T_Knoten(i,1) = n_arb
*get,T_Knoten(i,2),Node,n_arb,TEMP
n_arb=ndnext(n_arb)
*ENDDO

And finally put them as initial conditions for the other simulation:

/INPUT,tabvalsim1.txt

*DO,n,1,n_anz,1
IC,ALL,TEMP,T_Knoten(n,2) !! initial condition
ALSELL, ALL, ALL
*ENDDO
SOLVE

But this doesn't work i think something is missing.
Thank you in advance for help
supermais is offline   Reply With Quote

Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simulation FPEs - turbulence for transient and steady-state? DaveR OpenFOAM Running, Solving & CFD 5 March 5, 2017 16:06
Saving transient Simulation after specified Real-Time simulant1 STAR-CCM+ 7 February 15, 2017 03:39
saving images for injection in cold flow simulation Ad.Al.Qads FLUENT 0 November 19, 2016 09:43
Huge file sizes when Running VOF simulation aarratia FLUENT 0 May 8, 2014 13:27
Exporting data of transient simulation DURING a simulation, at user locations ? Milan2013 CFX 0 April 18, 2014 04:47


All times are GMT -4. The time now is 17:30.