|
[Sponsors] |
Oscillating cylinder using icoFoam blowing up |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 21, 2010, 07:40 |
Oscillating cylinder using icoFoam blowing up
|
#1 |
Senior Member
Pavan
Join Date: May 2009
Location: Melbourne
Posts: 101
Rep Power: 17 |
Hey guys I'm simulating a (2D) transversely oscillating cylinder using a non-inertial reference frame using the following modification to icoFoam:
Code:
scalar Pi = mathematicalConstant::pi; dimensionedScalar accCt("accCt",dimensionSet(0,1,-2,0,0,0,0),-3.0*pow(2.0*Pi/3.0,2)*Foam::cos(2.0*Pi*runTime.value()/3.0)); dimensionedVector acc("acc",dimensionSet(0,1,-2,0,0,0,0), vector::zero); acc.component(vector::Y) = accCt; fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) - fvm::laplacian(nu, U) == acc ); solve(UEqn == - fvc::grad(p)); |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
tutorial for solving oscillating cylinder problem | CH | FLUENT | 8 | April 2, 2014 10:56 |
Oscillating Cylinder in Parallel Flow: Analytical Solution | startingcfd | Main CFD Forum | 7 | March 23, 2012 05:49 |
problem with oscillating cylinder | ammi | FLUENT | 0 | December 18, 2006 04:06 |
problem with oscillating cylinder | zonexo | FLUENT | 3 | September 14, 2006 10:13 |
UDF for oscillating cylinder | fredD | FLUENT | 0 | July 16, 2004 09:32 |