|
[Sponsors] |
Adding a time-varying momentum source term to pimpleDyMFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 15, 2015, 13:41 |
Adding a time-varying momentum source term to pimpleDyMFoam
|
#1 |
Member
Pruthvi
Join Date: Feb 2014
Posts: 41
Rep Power: 12 |
Hello everybody.
I'm trying to simulate a flapping airfoil with plunge amplitudes as high as 2 chords. Mesh deformation seems to be infeasible for this purpose. Therefore I want to implement the method used by Kinsey and Dumas (2008). They have added a time-varying momentum source term to the Ueqn and also time-varying velocity inlets to the top,bottom and inlet patches. The body force term is independent of space. This is basically a solver in a non-inertial frame of reference. The pitching motion is taken care of by a rotating AMI. I want to validate the pimpleFoam solver in the non-inertial frame before I proceed to pimpleDyMFoam. I modified the solver as follows by following some previous posts in the forum. I added an explicit source term to the right hand side of Ueqn as follows Code:
solve(UEqn() == -g -fvc::grad(p)); Code:
g=gunits*Foam::cos(runTime.value()*freQ)*vector(0,1,0); Cy_non_inertial.png // Non-inertial plot forceCoeffs_flatplate.jpg // Dynamic Mesh plot I want to know if there is any mistake in this implementation. Here is a flow field of the same case using a dynamic mesh. Do I need to add the body force term to the fvSchemes file? I didn't because 'g' is just a known constant. Did anybody implement this before? I will be glad to hear your suggestions. The case file is available here. Thanks, Pruthvi. Last edited by pruthvi1991; April 15, 2015 at 13:48. Reason: renamed attachments |
|
April 15, 2015, 17:05 |
|
#2 |
Member
ali alkebsi
Join Date: Jan 2012
Location: Strasbourg, France
Posts: 82
Rep Power: 14 |
I dont know if what im saying makes sense or not but since you want any suggestion
When changing the momentum equation, shouldn't the pressure correction and flux correction be changed as well? |
|
April 16, 2015, 14:03 |
|
#3 |
Member
Pruthvi
Join Date: Feb 2014
Posts: 41
Rep Power: 12 |
Hi Ali,
I don't know if I should or shouldn't. Can you explain why I should? |
|
September 11, 2018, 15:04 |
|
#4 |
New Member
Jaijeet
Join Date: Feb 2017
Posts: 6
Rep Power: 9 |
Do you solve that issue? I am also working on the same type of problem.
|
|
June 21, 2021, 12:02 |
|
#5 |
New Member
Shuo Mi
Join Date: Nov 2020
Location: London
Posts: 19
Rep Power: 6 |
||
Tags |
kinsey and dumas, modified solver, pimpledymfoam, source term, validation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compressor Simulation using rhoPimpleDyMFoam | Jetfire | OpenFOAM Running, Solving & CFD | 107 | December 9, 2014 14:38 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 01:01 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
dynamic Mesh is faster than MRF???? | sharonyue | OpenFOAM Running, Solving & CFD | 14 | August 26, 2013 08:47 |
How does fluent handles the momentum source term? | QBeast | FLUENT | 0 | April 22, 2013 15:12 |