|
[Sponsors] |
September 24, 2015, 13:15 |
rotatingWallVelocity BC
|
#1 |
Member
VA
Join Date: Mar 2015
Location: ON, Canada
Posts: 30
Rep Power: 11 |
Hello FOAMers,
I am trying to understand the implementation of the rotatingWallVelocity BC. Here is the link to the source code for this BC: http://foam.sourceforge.net/docs/cpp/a05095_source.html. I am having a hard time trying to figure out the following lines in the code: Code:
const scalar t = this->db().time().timeOutputValue(); scalar om = omega_->value(t); // Calculate the rotating wall velocity from the specification of the motion const vectorField Up ( (-om)*((patch().Cf() - origin_) ^ (axis_/mag(axis_))) ); Thanks, Abishek |
|
September 25, 2015, 18:25 |
|
#2 |
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18 |
Hi,
I think that this multiplication is to obey the right-hand rule when om > 0. Best regards, Fumiya
__________________
[Personal]
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
rotatingWallVelocity normal to wall | rcastilla | OpenFOAM Programming & Development | 3 | April 3, 2024 03:22 |
rotatingWallVelocity bc | Lodda | OpenFOAM | 8 | June 18, 2018 11:31 |
How to use rotatingWallVelocity boundary condition | terrybarnaby | OpenFOAM | 26 | February 7, 2018 18:53 |
Why the axial velocity of the wall using rotatingwallvelocity BC isn't zero? | babala | OpenFOAM | 0 | November 29, 2013 08:21 |
using rotatingWallVelocity in openfoam | bigboss.abhishek | OpenFOAM Running, Solving & CFD | 0 | August 27, 2013 00:41 |