|
[Sponsors] |
rotationVelocity in rotatingTotalPressure and SRF |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 18, 2009, 06:20 |
rotationVelocity in rotatingTotalPressure and SRF
|
#1 |
Member
Oliver Borm
Join Date: Mar 2009
Posts: 60
Rep Power: 17 |
Hello,
I think the computation of the rotationVelocity in rotatingTotalPressure and SRF could be simplified. The piece of code is: Code:
vector axisHat = omega_/mag(omega_); vectorField rotationVelocity = omega_ ^ (patch().Cf() - axisHat*(axisHat & patch().Cf())); Reformulation of the right term: This reduces the computation of the rotationVelocity to: or in C++ Code:
vectorField rotationVelocity = omega_ ^ patch().Cf(); |
|
December 7, 2012, 08:11 |
|
#2 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
can we use rotatingTotalPressure in a 2-D case?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SRF and interFoam | rcastilla | OpenFOAM Running, Solving & CFD | 3 | November 9, 2018 09:56 |
Rotating Reference Frame | paullees | OpenFOAM Running, Solving & CFD | 14 | May 3, 2018 00:24 |
Rotating objects time dependend SRF | naish | OpenFOAM Running, Solving & CFD | 0 | January 24, 2009 03:55 |
Periodic boundary and SRF | Alex H | FLUENT | 3 | September 18, 2006 12:25 |
Strange things in SRF (urgent) | Cem | FLUENT | 0 | December 19, 2005 10:37 |