Modifications on Transonic option in compressibleInterFoam
Dear all,
I'm trying to simulate high pressure gas atomization using compressibleInterFoam. However, I'm having a really hard time dealing with high pressure gas inlets (around 30atm) and temperature fluctuations. I'm using OF 4.0 and recently I found that transonic option in compressibleInterFoam isn't working well. However, they made some modifications in the development versions. When I cross checked the modifications, I found that they have modified pEqn.H and TEqn.H. I managed to add the modifications in the TEqn.H into my solver successfully. (adding the ContErr terms and I separated the positive and negative source terms in order to improve the diagonal dominance). However, making the changes in pEqn.H seems little bit complex. It compiled without giving me any error, but giving me a runtime error. It refers to the modifications made in src/finiteVolume. (As you can see below the scalarmatrix p_rghEqnComp1 is scaled by pos(alpha1) and apparently it's not allowed in OF40 src). PHP Code:
Really appreciate if someone can help me with this. Thanking you in advance, Kalpana |
All times are GMT -4. The time now is 11:08. |