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

How to calculate the average of torque in transient Ansys CFX Simulation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 25, 2016, 07:43
Default
  #21
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12
-Maxim- is on a distinguished road
Ronald, I would ask in the Fluent forum...
-Maxim- is offline   Reply With Quote

Old   April 15, 2016, 13:35
Default
  #22
New Member
 
Vishal Chauhan
Join Date: Jan 2012
Posts: 14
Rep Power: 14
vishu343 is on a distinguished road
Quote:
Originally Posted by Fernando R. View Post
I was testing the results with this method and noticed that the value of torque obtained with the monitor point differed a bit from the value acquired by using the 'Function Calculator' (in Calculators) in a given timestep.

So, to have an idea of this difference I've made a simple simulation of a rotating "square" in an air flux, first with it still, to have the inicial values, and then with it moving, and a monitor point measuring the force in the x direction in the sides of the square (defined as "paredes").

After, I've compared the data exported from the monitor point and the force in the x direction evaluated at each timestep using the 'Function Calculator'. The data is shown in the third image (in the table, data refers to "exported data", and manual to data obtained with the function calculator).

It seems that the x axis using the monitor point is refers to a frame of reference fixed in the rotating domain. I've tried marking the "Coord Frame" box and selectinig the "Coord 0" (the only one that appear), but the result is the same.

How can I export the data referred to the global coordinate system?

Hi,

I am facing same problem now. I do not know but you might have looked up in help file with "Force" as a topic. There they have defined why this difference is there but I am not sure about how to solve this problem.

If you know any means then kindly let me know. This problem is specifically for rotating transient cases.
vishu343 is offline   Reply With Quote

Old   June 20, 2017, 07:16
Default
  #23
Member
 
Dr Gurubasavaraju
Join Date: Dec 2014
Location: Bengaluru India
Posts: 77
Rep Power: 11
gbrajtm is on a distinguished road
Quote:
Originally Posted by mvoss View Post
in case you did not set the monitor point before calculating, here is a little script which loops through each time step for a given res-file. start it from the cfx command line via cfx5perl. res-file needs to be next to the script (or viceversa).
Code:
>load filename=YOURRESFILE.res
! 	$Liste = getValue("DATA READER","Timestep List");
!	@TIMELIST = split(/,/,$Liste);
!	print "@TIMELIST \n";
!	open OUT, ">YOURDATA.dat";
!	print OUT "Time;Massflow Inlet;Massflow Düse;Massflow Mündung\n"; #HEADER
!	foreach $TS(@TIMELIST){
> 		load timestep = $TS
! 		print "calculating timestep $TS \n";
!		($time, $timeunits) = evaluate("Time");
! 		$pin=massFlow("INLET");
! 		$pduese=massFlow("Domain Interface 1 Side 2");
! 		$pmuendung=massFlow("Domain Interface 2 Side 1");
!		print 		"$time;$pin;$pduese;$pmuendung \n";
!		print OUT 	"$time;$pin;$pduese;$pmuendung\n";
!	};
!		close OUT;
> close
Hi,

I wanted an expression for calculating the force at a region for particular time step using CEL. The present expression I am using is (force_x()@piston), I have to select the time step to select each time to calculate the force for the particular time step. If I could manage to modify the present expression to calculate through expression.
Please help.
gbrajtm is offline   Reply With Quote

Old   June 17, 2020, 07:17
Default
  #24
New Member
 
Chris
Join Date: Feb 2013
Posts: 17
Rep Power: 13
lowdo is on a distinguished road
Quote:
Originally Posted by Fernando R. View Post
I was testing the results with this method and noticed that the value of torque obtained with the monitor point differed a bit from the value acquired by using the 'Function Calculator' (in Calculators) in a given timestep.

So, to have an idea of this difference I've made a simple simulation of a rotating "square" in an air flux, first with it still, to have the inicial values, and then with it moving, and a monitor point measuring the force in the x direction in the sides of the square (defined as "paredes").

After, I've compared the data exported from the monitor point and the force in the x direction evaluated at each timestep using the 'Function Calculator'. The data is shown in the third image (in the table, data refers to "exported data", and manual to data obtained with the function calculator).

It seems that the x axis using the monitor point is refers to a frame of reference fixed in the rotating domain. I've tried marking the "Coord Frame" box and selectinig the "Coord 0" (the only one that appear), but the result is the same.

How can I export the data referred to the global coordinate system?
Fernando, did you ever find a resolution to this issue? I'm finding the same thing (with both torques and forces reported on a part in a rotating domain), which seems to me to be contrary to what would be expected from reading the user manual.
lowdo 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
Reaction with CFX (transient simulation) ameen0602 CFX 2 May 4, 2012 16:11
Verifying results for a wind turbine blade simulation in ANSYS CFX Joystix CFX 3 April 27, 2012 17:52
Boundary condition setting regarding turbine simulation using CFX Lacerlacer CFX 11 March 12, 2012 09:32
Ansys FSI and CFX (valve simulation) farianka ANSYS 0 April 17, 2011 16:20
MFX: weired force transfer from cfx to ansys zyf CFX 3 October 7, 2006 03:08


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