|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Oliver Borm
Join Date: Mar 2009
Posts: 59
Rep Power: 6 ![]() |
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(); |
|
|
|
|
|
|
|
|
#2 |
|
Banned
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0 ![]() |
can we use rotatingTotalPressure in a 2-D case?
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Rotating Reference Frame | paullees | OpenFOAM Running, Solving & CFD | 13 | April 29, 2013 05:18 |
| SRF and interFoam | rcastilla | OpenFOAM Running, Solving & CFD | 1 | July 10, 2009 06:53 |
| 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 |