|
[Sponsors] |
dynamicRefineMent in compressible thermo cases |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 7, 2014, 19:15 |
dynamicRefineMent in compressible thermo cases
|
#1 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
Hello everyone,
I've been doing some experimenting with dynamic refinement in compressible solvers and have found a problem I am not sure how to deal with. I am using the dynamicRefineFvMesh on the aachenBomb which has been modified with a coarser starting geometry and a sprayDyMFoam solver which is a synthesis of rhoPimpleDyMFoam and sprayFoam. For some reason, after solving rhoEqn, the density in the refined cells increases dramatically to the extent that the the solver eventually crashes. I have attached an image of the rho, p, U and C7H16 fields immediately after rhoEqn.H. I confirmed that rhoEqn.H is the cause as I also wrote out the fields just after mapping onto the refined mesh and before rhoEqn and the fields don't suffer the discontinuity. Anyone have any ideas as to what could be causing this? It seems like the ddt(rho) term in the equation is what is causing the problem. I've included the dynamicMeshDict, fvSchemes and fvSolutions files for reference. Thanks, |
|
November 11, 2014, 08:05 |
|
#2 |
New Member
Fanglou
Join Date: Oct 2014
Posts: 9
Rep Power: 12 |
Hello mturcios777:
Recently, I am trying to implement dynamic mesh refinement in sprayFoam solver,but I faid. As you have succeded sprayDyMFoam,I was wondering could you tell me in volScalarField YtfSource of YEqn.H file, what should I add, dimensionedScalar("zero", parcels.*****().dimensions(),0.0)??????? great thanks in advance! |
|
November 12, 2014, 13:04 |
|
#3 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
Hi Tjucus,
This post should help you out: http://www.cfd-online.com/Forums/ope...tml#post340938 Good luck! Marco |
|
November 13, 2014, 06:22 |
|
#4 |
New Member
Fanglou
Join Date: Oct 2014
Posts: 9
Rep Power: 12 |
Thanks a lot! I will try it!
Regards, |
|
November 13, 2014, 22:44 |
|
#5 |
New Member
Fanglou
Join Date: Oct 2014
Posts: 9
Rep Power: 12 |
Hello mturcios 777
Sorry for bothering you again! I want to make some modification in the scalar Urel in the SprayParcel.C,to do this, the injection direction of injector a SprayParcel belongs to is necessary? Is there any function avaliable to get the inj direction in the SprayParcel.C, I also tried to use dictionary to look up the directions in the case files,but it seems that dictionary does not work in the SprayParcel? Could you help me solve this problem? Great thanks in advance! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
yPlusLES for compressible cases | borrbyper | OpenFOAM Bugs | 3 | March 29, 2013 20:23 |
How to speed up the simulation of a large amount of similar steady state cases | tss | Main CFD Forum | 4 | November 5, 2010 15:36 |
Compressible turbulence modeling | userven | OpenFOAM Running, Solving & CFD | 0 | May 5, 2006 01:37 |
Compressible vs. Incompressible formulations | Fernando Velasco Hurtado | Main CFD Forum | 3 | January 7, 2000 17:51 |
Compressible Viscous Code vaidation test cases? | Mohammad Kermani | Main CFD Forum | 2 | November 11, 1999 15:22 |