|
[Sponsors] |
Piston motion with time varying experimental data oscillatingFixedValue |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 12, 2009, 18:33 |
I am using openfoam 1.4 in cyg
|
#1 |
New Member
Sean Bian
Join Date: Mar 2009
Posts: 19
Rep Power: 17 |
I am using openfoam 1.4 in cygwin to solve internal compressible turbulent flow under the motion of a piston. By modifying rhoTurbFoam I can use oscillatingFixedValue in cellMotionUX to define a sinusoidal piston motion Ux = f*(a*sin(2*pi*t)+1). The mesh deforms as expected and the simulation looks reasonable.
Now I want to drive the piston with motions (time varying, no sinusoidal displacement) measured from experiment. How can I do it? |
|
March 13, 2009, 03:07 |
Hi,
if I remember rightly,
|
#2 |
Member
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 17 |
Hi,
if I remember rightly, this is not trivial. Maybe you can approximate the values analytically and use groovyBC. I tried just yesterday to apply the "standard piston law of motion" (way over time) and it worked perfect. Best Regards Marco |
|
March 13, 2009, 16:18 |
Can I just modify the code to
|
#3 |
New Member
Sean Bian
Join Date: Mar 2009
Posts: 19
Rep Power: 17 |
Can I just modify the code to read and interpolate the external velocity at where Ux = f*(a*sin(2*pi*t)+1) is executed?
|
|
March 19, 2009, 11:06 |
|
#4 |
New Member
Sean Bian
Join Date: Mar 2009
Posts: 19
Rep Power: 17 |
dang... it's readily there! just modify cellMotionUx (or other initial files) like:
piston { // type oscillatingFixedValue; // refValue uniform 1.; // amplitude .2; // frequency .5; // value uniform 0; type timeVaryingUniformFixedValue; timeDataFileName "pistonVelocity.dat"; value uniform 0; } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX Piston Motion (CEL) | Dante | CFX | 4 | May 28, 2012 07:08 |
Piston motion with time varying experimental data oscillatingFixedValue | eno | OpenFOAM Running, Solving & CFD | 0 | March 12, 2009 18:31 |
motion of piston wave maker | chandra sekhar b | Main CFD Forum | 0 | October 31, 2008 08:06 |
Piston Motion | A Student | Siemens | 0 | April 18, 2006 12:36 |
piston motion | Arpan | Siemens | 1 | March 9, 2006 08:52 |