|
[Sponsors] |
May 16, 2018, 04:33 |
translation along circumferential trajectory
|
#1 |
Member
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 58
Rep Power: 17 |
Hi every body,
using the testTubeMixer tutorial, I would like to perform the translation without rotation of the tube along circumferential trajectory (see attached image). To do this I am trying to modify this line of the oscillatingLinearMotion.C file: Code:
const vector displacement = amplitude_*sin(omega_*t); Code:
const vector displacement.x() = amplitude_.x()*sin(omega_*t); const vector displacement.y() = amplitude_.y()*cos(omega_*t); const vector displacement.z() = 0.; Thank you very much for your help! |
|
May 18, 2018, 04:02 |
|
#2 |
Member
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 58
Rep Power: 17 |
Any, even small, hint is welcome!
|
|
May 19, 2018, 13:02 |
|
#3 |
Member
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 58
Rep Power: 17 |
Ok solved in this way
Code:
vector displacement =amplitude_*sin(omega_*t); displacement.x()=amplitude_.x()*sin(omega_*t); displacement.y()=amplitude_.y()*cos(omega_*t); |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Natural convection in a closed domain STILL NEEDING help! | Yr0gErG | FLUENT | 4 | December 2, 2019 00:04 |
Circumferential spatial averaging for cylindrical cases | beatlejuice | OpenFOAM Post-Processing | 6 | March 30, 2018 12:06 |
How to see trajectory of a bubble? | Matiasi | FLUENT | 2 | March 5, 2018 05:38 |
Translation in Segments | Kasey | STAR-CCM+ | 1 | November 26, 2014 03:22 |
CFX with trajectory model | siw | CFX | 6 | April 12, 2008 01:41 |