farfield Vs symmetry boundary condition
Dear CFD enthusiasts,
i am trying to simulate flow around a car body. The car is placed in a box where flow is generated. If i use pressure farfield condition on the two side walls and cieling , the energy equation gets activated , since this being a compressible flow, and solution diverges saying "Divergence detected in AMG solver: Temperature".
The only option i think is to have a symmetry boundary condition. since that has zero slip condition. No fluxes in normal direction.
what do u guys think about this ? Does having a symmetry boundary condition simulate what is happening on the road around a car....or pressure farfield is more accurate???
Re: farfield Vs symmetry boundary condition
Pressure Far Field shouldn't ever touch a wall BC (your floor is presumably a wall). Also, what are you using for inlet/outlet BCs. When you use Pressure Far Field, typically you use it for all of your flow BCs (inlet, sides, and outlet), but you have to make sure that the BC is VERY far from any influencing bodies (probably 10 car lengths ahead, and 10 to 20 car lengths above and to the sides, and 20 car lengths downstream). You could use the symmetry BC, but again, since you're not really modeling a symmetry condition, you have to make sure your flow domain is much larger than your blockage so that you're not creating interference effects between "the cars" created by the symmetry BC.
I would recommend using a pressure inlet for the sides and cieling. You can avoid the "Reversed Flow in XXX cells" by having tapered walls with the domain expanding in the direction of the flow. Then your ceiling and side walls get a Pressure Inlet BC (but change the flow direction from "Normal to Boundary" to "Components", and assign the correct vector for the flow direction). That's assuming you're using the Pressure Inlet BC on your main inlet. If you're using a Velocity Inlet BC then you should apply that to the sides and ceiling instead of the pressure inlet. Your BCs are still going to have to be a decent distance from the vehicle, but a Pressure Inlet BC is much less sensitive to that than a Pressure Far-Field.
Since you're probably not simulating your car going 360+km/hr, then you don't need to incorporate the ideal gas law. If you're not looking at Heat Transfer, then you don't need the energy equation at all. Also, you're probably using the segregated solver. You should set your limits (Solve->Controls->Limits) so that you're not letting your pressure go out of whack. I use Pmax = Pstatic + 2*Pdynamic and Pmin = Pstatic - 3*Pdynamic. This gives the solver enough room to go a little out of the realistic range without going off into some rediculous pressures that just lead to divergence.
Hope this helps, and good luck, Jason
|All times are GMT -4. The time now is 11:50.|