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

how to enable data sampling after steady state using TUI

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

Like Tree4Likes
  • 1 Post By raunakjung
  • 1 Post By raunakjung
  • 1 Post By Svetlana
  • 1 Post By jumaah

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2017, 20:18
Default how to enable data sampling after steady state using TUI
  #1
Senior Member
 
raunak jung pandey
Join Date: Jun 2016
Posts: 102
Rep Power: 10
raunakjung is on a distinguished road
I am carrying out a transient simulation using TUI.

I need to enable Data Sampling. Say after 10000 iterations or 0.1 sec of the transient simulation.

How to enable data sampling for the following case using only TUI or a journal file.

Thank You
Svetlana likes this.

Last edited by raunakjung; June 7, 2017 at 21:57.
raunakjung is offline   Reply With Quote

Old   June 7, 2017, 21:52
Default Not in steady
  #2
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 415
Rep Power: 14
Svetlana is on a distinguished road
Hello, I was confused by your question initially...

From user manual: "Data Sampling for Time Statistics enables the sampling of data during an unsteady calculation. See Sections 26.12.1 and 26.12.4 for details. "

For transient simulation, use "/solve/set/data-sampling yes 25 ...". It needs a few more words at the end of the command, but they depend on the model you are using, so either "/solve/set/data-sampling yes 25 yes yes yes" or "/solve/set/data-sampling yes 25 yes yes" depending on what models you have on.

It asks everyone these questions:

Data Sampling for Time Statistics? [no] yes
Sampling interval [1] 25

Then for me it is three questions:

Collect statistics for flow shear stresses? [yes]
Collect statistics for flow heat fluxes? [yes]
Collect wall statistics? [yes]

Please try it in GUI first to know what questions it asks, and then copy it over to your commands list.
Svetlana is offline   Reply With Quote

Old   June 8, 2017, 03:53
Default
  #3
Senior Member
 
raunak jung pandey
Join Date: Jun 2016
Posts: 102
Rep Power: 10
raunakjung is on a distinguished road
Quote:
Originally Posted by Светлана View Post
Hello, I was confused by your question initially...

From user manual: "Data Sampling for Time Statistics enables the sampling of data during an unsteady calculation. See Sections 26.12.1 and 26.12.4 for details. "

For transient simulation, use "/solve/set/data-sampling yes 25 ...". It needs a few more words at the end of the command, but they depend on the model you are using, so either "/solve/set/data-sampling yes 25 yes yes yes" or "/solve/set/data-sampling yes 25 yes yes" depending on what models you have on.

It asks everyone these questions:

Data Sampling for Time Statistics? [no] yes
Sampling interval [1] 25

Then for me it is three questions:

Collect statistics for flow shear stresses? [yes]
Collect statistics for flow heat fluxes? [yes]
Collect wall statistics? [yes]

Please try it in GUI first to know what questions it asks, and then copy it over to your commands list.
Thank you for your answer . I know the GUI to start using data sampling. But data sampling is only started after a statistically steady state has been reached. Hence I would like to start data sampling after 10000 iterations. How to write this using TUI ?
Svetlana likes this.
raunakjung is offline   Reply With Quote

Old   June 9, 2017, 02:31
Default The whole thing
  #4
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 415
Rep Power: 14
Svetlana is on a distinguished road
Hi,

Thanks for following up. I thought you were only asking about data sampling, sorry!

I believe you may be able to save your case as steady in GUI, and then specify the following in your commands file.

Code:
 ;; iterates 10,000 iterations in steady state
/solve/iterate 10000
;; switches to unsteady flow
/define models unsteady-1st-order? yes
;; enables data sampling, you might need an extra 'no' here
/solve/set/data-sampling yes 25 no no 
;; does 1000 time steps with 10 iterations in each in transient regime
/solve/dual-time-iterate 1000 10
;; writes your case and data like usual
/file/rcd 2.cas
dexter likes this.
Svetlana is offline   Reply With Quote

Old   June 10, 2017, 15:22
Default
  #5
Member
 
Omar jumaah
Join Date: Jan 2016
Posts: 36
Rep Power: 10
jumaah is on a distinguished road
Quote:
Originally Posted by raunakjung View Post
I am carrying out a transient simulation using TUI.

I need to enable Data Sampling. Say after 10000 iterations or 0.1 sec of the transient simulation.

How to enable data sampling for the following case using only TUI or a journal file.

Thank You
Hi, I suggest you to try to use the Calculation Activities. which allows you to set up various tasks that you can perform during the calculation. opens the Automatic Solution Initialization and Case Modification dialog box, change the no. case modification and include TUI command that you want e.g after 1000 iter.
Hope this will help,
Svetlana likes this.
jumaah is offline   Reply With Quote

Reply

Tags
data sampling, fluent, journal file, parallel, 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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MRF steady state mixing time Swift FLUENT 0 August 11, 2016 05:14
Ansys CFX problem: unexpected very high temperatures in premix laminar combustion faizan_habib7 CFX 4 February 1, 2016 17:00
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 17:27
About the difference between steady and unsteady problems Lisa Main CFD Forum 11 July 5, 2000 14:37


All times are GMT -4. The time now is 09:52.