as an incompressible ... things worked and seemed to make sense,
but the air was moving at mach 2.6 ... hence the switch to compressible
fluid is air ... 1 inlet 9 outlets.
boundary conditions were:
inlet: piecewise linear temperature and pressure over 2 milliseconds
outlet: 0 pressure
changes for compressibility:
set air to 'variable'
select 'compressible' in solver dialog
boundary conditions are:
inlet: total temperature and total pressure and mass flow
outlet: pressure 0, and 'unknown'
simulation gets to the second time step and crashes ...
I read the paper on interior compresibles and didn't catch my mistake.
What did miss ?
It seems to me that you have overconstrained your model a bit with the compressible setup.
Review the suggest model setup guidelines here:
My suggestion based on what you wrote would be to remove the mass flow rate and the unknown boundary conditions and give it another shot. That would make the model setup jive with the 1st bullet point model setup in the above link.
The summary files labels ALL pressure boundary conditions are 'Outlets' even though they very well could be inlets. It is just book post-processing keeping and not important.
What does 'rest is crap' in regards to?
I am referring to the 'Messages' tab in the simulator, where it does differentiate between inputs and outputs.
Despite inititial conditions for the air volume of pressure=0, velocity=(0,0,0) and temp=72 ... I am seeing pressures (psi) in the millions, velocities (in/sec) in the bilions, and temperatures of absolute zero -- -459F .
the simulation seems very confused ... or is it me ?
Since the first message I have replaced the total pressure constant with a piecewise linear from 13601 to 0(psi); total temperature constant with a piecewise linear from 2092 to 22 (degrees C); and the mass flow constant with a piecewise linear from 1.75 to 0 (kg/s). The simulator still crashes in the first few iterations ... and reports bizarre values.
maybe its my computations of the new boundary conditions...
input temp = 3361F, pressure = 8000psi, velocity = 2970 ft/s
so speed of sound = 3190 ft/s ... and mach number = 0.9311
from nasa I got a gamma of 1.3028622041 for 3361F and 8000psi
I get a total temp of 2092.295673C and a total pressure of 13600.77257psi
mass flow is 1.75 grams in 2 milliseconds -- or .875 kg/s
by 2 milliseconds temp and pressure are back to ambient and flow==0
I'm setting these as piecewise linear boundary conditions. And yet ...
Can we make this 1/4 symmetric?
Also, could we move the projectile to be placed outside of the fluid domain in CAD. We will use the modtion initial position settings to place it in the barrel. this will allow us to turn on mesh enhancement inside of the barrel.
Just to give you an idea of how I am troubleshooting this problem. I am first turning OFF the transient motion portion of the setup and will work on getting the problem solving the compressible flow transiently to determine the needed mesh and solver configurations for this to work.