CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   STAR-CCM+ (http://www.cfd-online.com/Forums/star-ccm/)
-   -   auto drag coeff updat (http://www.cfd-online.com/Forums/star-ccm/125106-auto-drag-coeff-updat.html)

SB123 October 18, 2013 21:09

auto drag coeff updat
 
how do i change the refrence velocity to auto update to a corresponding inlet velocity. I'm running many simulations of a similar body across many velocities. It's a pain in the butt to update every time: the initial condition, the inlet velocity, and the drag coefficient "reference Velocity" normalizing factor. There's gotta be a way to code a short cut when i change one it'll change the others... help would be appreciated on the topic.

rwryne October 21, 2013 12:09

Quote:

Originally Posted by SB123 (Post 457747)
how do i change the refrence velocity to auto update to a corresponding inlet velocity. I'm running many simulations of a similar body across many velocities. It's a pain in the butt to update every time: the initial condition, the inlet velocity, and the drag coefficient "reference Velocity" normalizing factor. There's gotta be a way to code a short cut when i change one it'll change the others... help would be appreciated on the topic.


Make a report that gets the velocity (Mass flow averaged?) and then reference it in your drag coeff equation...

If the report is named "Velocity", you reference it via "$VelocityReport" without quotes of course.

SB123 November 13, 2014 10:22

thanks for the help


All times are GMT -4. The time now is 19:10.