CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Extract velocity from probes at every timestep to be used in Macro

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By FliegenderZirkus

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2023, 12:18
Default Extract velocity from probes at every timestep to be used in Macro
  #1
New Member
 
Aero_Control
Join Date: Mar 2023
Posts: 6
Rep Power: 3
howarceus is on a distinguished road
I have 10 point probes and I want to extract the velocity (9 of the probes will take only the y velocity and 1 of the probes will take only the x velocity) at every timestep to be used in my macro where the velocity data will be put in a vector in my Java macro to do some calculations with mutiplications of matrices and etc.

I don't know how to extract the velocity measurements though as I'm unable to use monitors and I'm not exactly sure how to take the specific points using an XYZ table.
howarceus is offline   Reply With Quote

Old   April 18, 2023, 12:54
Default
  #2
Member
 
Join Date: Nov 2019
Posts: 98
Rep Power: 7
FliegenderZirkus is on a distinguished road
Define the 10 reports in the GUI, one for each of the probes. In your macro, run the getValue() method on each of them.
howarceus likes this.
FliegenderZirkus is offline   Reply With Quote

Old   April 19, 2023, 16:19
Default
  #3
New Member
 
Aero_Control
Join Date: Mar 2023
Posts: 6
Rep Power: 3
howarceus is on a distinguished road
Quote:
Originally Posted by FliegenderZirkus View Post
Define the 10 reports in the GUI, one for each of the probes. In your macro, run the getValue() method on each of them.
Hi, thanks, I didn't know how to get the reports for the probes when it comes to velocity, but realised i can use Maxreports
howarceus 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
How to extract velocity from a line-surface in UDF RaffColl Fluent UDF and Scheme Programming 0 March 8, 2021 11:46
Velocity fields and probes do not match up nskelly OpenFOAM Post-Processing 1 November 1, 2019 14:07
How to extract velocity values in a specified plane dbh0006 FLUENT 2 September 20, 2019 05:09
extract velocity gradient <user_getvar> error Ionut G CFX 7 January 16, 2017 11:15
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11


All times are GMT -4. The time now is 07:32.