|
[Sponsors] |
August 20, 2019, 02:30 |
LES diesel jet
|
#1 |
Senior Member
Brett
Join Date: May 2013
Posts: 216
Rep Power: 14 |
Hi guys,
I'm trying to simulate a diesel jet using LES. I'm trying to run compressibleMultiInterFoam. I think I'm getting close but I keep getting this error: Creating field kinetic energy K Courant Number mean: 0.0020326 max: 2487.28 --> FOAM FATAL ERROR: Different dimensions for = dimensions : [0 2 -1 0 0 0 0] = [1 -1 -1 0 0 0 0] From function bool Foam::dimensionSet:perator=(const Foam::dimensionSet&) const in file dimensionSet/dimensionSet.C at line 171. FOAM aborting Any thoughts??? |
|
August 20, 2019, 05:04 |
|
#2 |
New Member
Adam
Join Date: Jan 2019
Posts: 21
Rep Power: 7 |
Wrong unit change it the way the solver already told you
|
|
August 20, 2019, 05:07 |
|
#3 |
Senior Member
Brett
Join Date: May 2013
Posts: 216
Rep Power: 14 |
Thanks.
What file do I need to change though?? |
|
August 20, 2019, 09:29 |
|
#4 |
New Member
Adam
Join Date: Jan 2019
Posts: 21
Rep Power: 7 |
It looks like the "nut" file
|
|
August 20, 2019, 19:56 |
|
#5 |
Senior Member
Brett
Join Date: May 2013
Posts: 216
Rep Power: 14 |
Thanks for that.
So it's wanting me to change the units of the nut file essentially. I wasn't aware the units of that had to change from incompressible to compressible flow? How did you figure out it was nut that needed changing? very interesting... |
|
August 20, 2019, 21:05 |
|
#6 |
Senior Member
Brett
Join Date: May 2013
Posts: 216
Rep Power: 14 |
Interestingly...
After changing the units of the nut file the error reoccurs: Creating field kinetic energy K Courant Number mean: 0.00020326 max: 248.728 --> FOAM FATAL ERROR: Different dimensions for = dimensions : [1 -1 -1 0 0 0 0] = [0 2 -1 0 0 0 0] From function bool Foam::dimensionSet:perator=(const Foam::dimensionSet&) const in file dimensionSet/dimensionSet.C at line 171. FOAM aborting |
|
August 21, 2019, 04:31 |
|
#7 |
New Member
Adam
Join Date: Jan 2019
Posts: 21
Rep Power: 7 |
Just because of the units, but I was wrong. You have to change the pressure units when you change from incompressible to compressible to you have to check these.
|
|
August 21, 2019, 20:28 |
|
#8 |
Senior Member
Brett
Join Date: May 2013
Posts: 216
Rep Power: 14 |
Yeah I already changed them.
Just to be certain what units for 'p' and 'p_rgh' would you be using? |
|
August 22, 2019, 04:16 |
|
#9 |
New Member
Adam
Join Date: Jan 2019
Posts: 21
Rep Power: 7 |
p and p_rgh share the same units:
[1 -1 -2 0 0 0 0]; |
|
August 22, 2019, 20:36 |
|
#10 |
Senior Member
Brett
Join Date: May 2013
Posts: 216
Rep Power: 14 |
yep. thats what i've got them set as. hmmm.... seems like ive missed something else then.
|
|
August 26, 2019, 04:19 |
|
#11 |
New Member
Adam
Join Date: Jan 2019
Posts: 21
Rep Power: 7 |
You should look at a tutorial and then compare all the units to yours. Including the thermophysical Properties.
|
|
August 26, 2019, 23:36 |
|
#12 |
Senior Member
Brett
Join Date: May 2013
Posts: 216
Rep Power: 14 |
Made a breakthrough of sorts.
Looks like it's "alphat" that needed it's units changed. It runs now. Whether the values I've chosen are physical or not we'll have to see but I've gotten over that issue. |
|
August 27, 2019, 04:30 |
|
#13 |
New Member
Adam
Join Date: Jan 2019
Posts: 21
Rep Power: 7 |
If you do RANS you should use a wallfunction for alphat with a turbulent Prandlt of 0.85, but if you do a LES with a fine grid it doesnt really matter in my experience.
Edit: I just saw that you are doing LES, so forget about the RANS |
|
Tags |
les, multiphase, openfoam, turbulence analysis |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LES for diesel engine | kazuki | CONVERGE | 4 | November 16, 2018 23:58 |
Problem on LES of incompressible free jet | huangfei | OpenFOAM Running, Solving & CFD | 3 | September 25, 2017 22:19 |
LES of Turbulent Jet | knuckles | OpenFOAM Running, Solving & CFD | 1 | March 31, 2016 20:33 |
LES for jet breakup modeling | smog | OpenFOAM Running, Solving & CFD | 9 | December 22, 2015 01:41 |
LES of jet injection giving pulsations | nsalpeter | Main CFD Forum | 3 | October 2, 2009 20:12 |