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

CFX Post: Only shows last time step result

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 14, 2019, 02:20
Default CFX Post: Only shows last time step result
  #1
New Member
 
Rubel Ahammed
Join Date: May 2019
Posts: 13
Rep Power: 7
Rubel Ahammed is on a distinguished road
I have done a simulation for sinusoidal movement of a piston merged at a fluid.
When I look at CFX Post for Force Vs Displacement curve at chart view It only shows last time step result.

I have used here: Total Time=1 sec.
Time step =0.01 sec.

At output control >>Transient Result>>Standard and time interval 2

Any one can help me to solve this issue. Thanks in advance.
Rubel Ahammed is offline   Reply With Quote

Old   December 14, 2019, 05:21
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 698
Rep Power: 12
AtoHM is on a distinguished road
Time interval is an absolute value with a unit - I suspect [s] is default value. So for your total run of 1 s, you get no additional output.


You can easily check if transient output was written if you look into the simulation folder, there will be an additional folder with the run number appended, e.g. _001. If transient output was written, there will be files in .trn file format inside this folder. If there is nothing there, nothing was written and therefore nothing will be shown in CFD-Post.

You can either adjust the time interval to 0.02 [s] or switch to time step interval 2 for example.
AtoHM is offline   Reply With Quote

Old   December 14, 2019, 08:22
Default
  #3
New Member
 
Rubel Ahammed
Join Date: May 2019
Posts: 13
Rep Power: 7
Rubel Ahammed is on a distinguished road
Thanks AtoHM for your co-operation

I have tried for Total time 2 s and Time step 0.02 s Then nothing observed as --- .trn file.

But When I run simulation again for Total time 2 S and time step 0.01 s then I get a file named "104_full.trn". At time step selector shows 2 step. Also I get a curve like straight line. But the actual curve is not like a straight line.
Rubel Ahammed is offline   Reply With Quote

Old   December 14, 2019, 20:01
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,841
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
CFD-Post can only display data you generate a transient results file for.

If you want to see plots of things versus time at full resolution the best way is to define it as a monitor point in CFX-Pre, rerun the simulation and then the full time history will be available as a monitor point in Solver Manager. You don't use CFD-Post to get the full time history.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   December 15, 2019, 01:18
Default
  #5
New Member
 
Rubel Ahammed
Join Date: May 2019
Posts: 13
Rep Power: 7
Rubel Ahammed is on a distinguished road
Dear Glenn

I have used below equation for displacement:

Displacement= 0.0425[m]*cos(1.33*t/1 [s])

For calculating Force I have used below expression at CFD post:

Force= force_y()@piston+force_y()@pistonwall

At Pre, Total Time=1 S and Time step=0.01 s

I want more than 90 set data for generating my curve. How can I input monitor for my required data set?

I have attached here my geometry pic for your better understanding about my work.

Thanks in advance for your best co-operation.


Rubel
Attached Images
File Type: png Figure0001.png (25.7 KB, 11 views)
Rubel Ahammed is offline   Reply With Quote

Old   December 15, 2019, 06:10
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,841
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
As I said previously, add a monitor point to your output tab in CFX-Pre. Then re-run the simulation. In solver manager you will have a chart display which shows the output of the monitor point for all time steps.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   December 15, 2019, 07:08
Default
  #7
New Member
 
Rubel Ahammed
Join Date: May 2019
Posts: 13
Rep Power: 7
Rubel Ahammed is on a distinguished road
Dear Glenn,

Actually I don't get how can I add monitor point for required data. Could you please tell me elaborately what will be the next process after selecting monitor point.




Rubel
Attached Images
File Type: jpg Capture.jpg (60.2 KB, 13 views)
Rubel Ahammed is offline   Reply With Quote

Old   December 15, 2019, 17:58
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,841
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Change the option from "Cartesian Coordinates" to "CEL Expression", then put your displacement or force expression in.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   December 18, 2019, 23:17
Default
  #9
New Member
 
Rubel Ahammed
Join Date: May 2019
Posts: 13
Rep Power: 7
Rubel Ahammed is on a distinguished road
Dear Glenn,

I have written Force expression "force_y()@piston+force_y()@pistonwall" at CFX-Post as a new expression.

How can I put it at monitor?

Is there another way to collect force data or how can I write expression for damping force?


By the way, I have added "Displacement= 0.0425[m]*cos(1.33*t/1 [s]) at monitor point 2

and Force= force_y()@piston+force_y()@pistonwall at monitor point 1

But still I don't get any result.



With Regards
Rubel
Attached Images
File Type: jpg Capture-1.jpg (72.8 KB, 10 views)
Rubel Ahammed is offline   Reply With Quote

Old   December 19, 2019, 01:48
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,841
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You can't put it in CFD-Post. It does not have the data.

You have to put it in CFX-Pre as a monitor point and rerun the simulation. If you don't know how to do monitor points have a look at the CFX tutorials.

You then access the monitor point data through solver manager, not through CFD-Post.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   January 5, 2020, 23:24
Default
  #11
New Member
 
Rubel Ahammed
Join Date: May 2019
Posts: 13
Rep Power: 7
Rubel Ahammed is on a distinguished road
Thanks Glenn Finally it works
Rubel Ahammed is offline   Reply With Quote

Reply


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
Time Step Continuity Errors simpleFoam Dorian1504 OpenFOAM Running, Solving & CFD 1 October 9, 2022 10:23
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 03:20
Help for the small implementation in turbulence model shipman OpenFOAM Programming & Development 25 March 19, 2014 11:08
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 03:34
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 10:34


All times are GMT -4. The time now is 21:25.