|
[Sponsors] |
How to calculate velocity componentes during runtime |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Join Date: Dec 2012
Posts: 7
Rep Power: 14 ![]() |
Dear Foamers,
one short question: Is it possible to calculate velocity components via funciton object during runtime? (Just as it can be done for postprocessing by "foamCalc components U" ) Thx! |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 52 ![]() ![]() |
Can't rule out that there is a functionObject in OF that does it. I do it with an expression "U.x" in the expressionField-functionObject of swak4Foam. But I'm extremly biased in that matter
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Member
Join Date: Oct 2013
Posts: 92
Rep Power: 13 ![]() |
Quote:
Code:
foamCalc -components U In OF 6 it is Code:
postProcess -func "components(U)" Last edited by fedvasu; October 2, 2018 at 13:34. Reason: Add additional information |
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
LES and TKE calculations | MST | Main CFD Forum | 3 | May 30, 2016 06:26 |
how to calculate rms velocity fluctuation after runtime | nati | OpenFOAM Post-Processing | 6 | February 7, 2013 08:42 |
How to calculate the gradient of pressure and velocity | diegosene | OpenFOAM | 2 | September 28, 2011 09:03 |
calculate the average velocity of particles | robert | FLUENT | 0 | August 1, 2008 09:44 |
how to calculate a scale velocity in vectors | ladypowel | FLUENT | 0 | May 8, 2007 18:40 |