|
[Sponsors] |
November 13, 2013, 19:58 |
|
#41 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
The concept is simple (I should write a FAQ on this):
* Make the mesh significantly finer. Halving the element edge length is what you should aim for. This will make your mesh something like 8 times more nodes. * Run the simulation to full convergence. * Compare the results of interest to you to the initial mesh. * If the results are equivalent to within a tolerance you are happy with then you have shown mesh independance and you can proceed. * If the results are not equivalent to within a tolerance you are happy with then go to step 1 and halve the edge length again, and repeat the whole process. Obviously this usually leads to very large meshes - but that is what CFD needs for accuracy. Also note this method is pretty crude, can be fooled and is not very efficient. A much better method of showing mesh sourced errors is using grid convergence indexes and techniques like Richardson extrapolation - but these techniques are too complex to explain in a forum post. There are some links to these more advanced techniques in this FAQ: http://www.cfd-online.com/Wiki/Ansys..._inaccurate.3F |
|
November 14, 2013, 03:59 |
|
#42 | |
Member
Abdul Afoo Parkar
Join Date: Oct 2012
Posts: 42
Rep Power: 14 |
Always happy to help and at the same time learn something new in the process.
Quote:
1.b I did some work of geometry extraction from AutoCAD. It is simple: 1) Create a new layer in AutoCAD 2) Use polyline or line tool to draw the geometry in the new layer of step.1 (which would basically be: walls of ur garage, vents, columns and jet fans). Export as IGS from AutoCAD and import in Gambit. 1.c Once you import in Gambit, make ur volumes and usual stuff of cleaning. Once u get to meshing stage: Mesh jet fan and Fire Subdomain by hex/or pave first and try this option for rest of the big volume : use Hexcore (native). See pic. Also, It is absolutely possible to do this geo with all-hex or hex/prism. 1.d Another option you can try in the existing model u have is to use Tgrid throughout (jet fan and remaining volumes) with constant size. By constant I mean, don't grow the mesh. See pic. It will lead to too high number of elements, that's the disadvantage. |
||
November 14, 2013, 09:36 |
|
#43 | |
Member
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 14 |
Quote:
Thank you. |
||
November 14, 2013, 09:52 |
|
#44 | |
Member
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 14 |
Quote:
1.I understand what you are talking about it 1.d to make the mesh with one interval size throughout the whole geometry, but I don't know may be my Gambit is different version I don't have this option about the grow rate and max size or I cannot find it. 2. About the Modeling the model by Hex or pave first the jet fan and fire volume and then Tgrid with Hex Core (Native) for the Entire Volume again I don't have them too again in my Gambit. 2.1) My problems are with the Gambit version or? 2.2) If the problem is not with the version to go first with the jet fan and fire subdomain, but when I choose Hex then _>>>>> which one to choose Map,SubMap,TetPrimitive,Cooper or Stair Step. 2.3) If I choose Hex/Wedge there is only one option - Cooper for the jet fan and fire subdomain. Attatched are pictures. 3.The Hex/Pave mesh is better mesh than the Tgrid or? Thank you in advance. |
||
November 14, 2013, 10:35 |
|
#45 |
Member
Abdul Afoo Parkar
Join Date: Oct 2012
Posts: 42
Rep Power: 14 |
Hmm...
'one single interval size' is different from 'growing' the mesh. In Gambit you choose an element size to tetra mesh and u get additional option to grow (u have to specify what Gambit calls 'growthrate' 1.1 or 1.5 or ...) the elements upto a certain factor (called "Max. size""). You can read documentation on this. So: 1. In your screenshot no.4, what do you have when u select Tgrid? Post ur screenshot 2. In your screenshot no.4, what do you have when u select Hex core? Post ur screenshot Hex/pave is definitely better. You get a neat distribution of elements and u end up generating a lot less net total number of elements compared to tetra. |
|
November 14, 2013, 11:11 |
|
#46 | |
Member
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 14 |
Quote:
1.Tgrid 2. HexCore selected |
||
November 14, 2013, 14:23 |
|
#47 |
Member
Abdul Afoo Parkar
Join Date: Oct 2012
Posts: 42
Rep Power: 14 |
Well, I am not sure why you don't have additional options. But, nevertheless it look like you are already using uniform tetra mesh without growth factor, which is what I suggested earlier. Try Hex core option too. You can then take slice at various sections and see how Hex core does the job.
|
|
November 14, 2013, 17:37 |
|
#48 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
I will leave the discussion on how you mesh in Gambit to others, but the end effect is that for the mesh refinement if you had a 1m cube meshed with 10x10x10 elements you would have 0.1m edge lengths. If you halve the edge length you would have 20x20x20 elements with 0.05m edge lengths, and your mesh size has gone from 1000 to 8000.
|
|
November 15, 2013, 11:14 |
|
#49 | |
Member
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 14 |
Quote:
1.First to mesh a face of the jet fan with Ouad/Pave 2.Then to mesh the Jet Volume and Fire Volume with Hex/Wedge Cooper 3.Then to mesh the big Volume with Tgrid with HexCore 1.)Do you think works or it is wrong procedure? Because it gave me 11 highly skewed elements.The skewed are a big problem for the simulation or not?? 2.) I have another question about the procedure, because when I was learning fluent at the university. The told us first to mesh the faces- Inlets, Outlets, walls and after that the Volumes. In my case a have a lot of volumes for my real geometry- all the jet fans are volumes, the fire volume and the entire garage volume. My faces for Inlets and Outlets(picture 4) are only the big garage ventilators in case of fire, and the will be only faces of which I will set Boundary conditions of Velocity intlets and Outlets. So because I want to try the mesh method that you recommend me Tgrid with one step all the volumes and If I first mesh the faces Inlets and Outlets(as they told me at the University) and after that the Volumes, this will lead to a grow rate of the mesh at some places. So my question is 2.) If I select all the volumes and make them Volume mesh with Tgrid(one step) this will mesh the faces too or not? Thank you. |
||
November 15, 2013, 11:15 |
|
#50 | |
Member
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 14 |
Quote:
|
||
November 16, 2013, 13:08 |
|
#51 | ||
Member
Abdul Afoo Parkar
Join Date: Oct 2012
Posts: 42
Rep Power: 14 |
Quote:
Quote:
Meanwhile, I have attached another pic for you to give u an idea of how u can use Hex/Pave Cooper for your garage volume. Do the volume splits as indicated. Then do ur jet fan volume mesh, Volume X & volume Y mesh, fire subdomain volume mesh, inlet & outlet face and then do your garage mesh by Cooper scheme. It should work fine. ------------------------------- Going off-track a little bit to CFX model: Do you think velocity inlet and velocity outlet BCs are good idea? Are these directly connected to inlet and exhaust fans via duct? |
|||
November 17, 2013, 10:58 |
|
#52 |
Member
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 14 |
Thank you for the replies a lot.
First I have made the volume splits and try to made the Volume mesh as follows: 1.Hex/Wedge-Cooper scheme for the fire volume, jet fan,Volume X and Volume Y. 2.Then Tgrid with Hex Core it works, but the inside mesh is cooper and the mesh next to the walls is Tgrid.I'm not interested in the conditions near the walls, so Is this a problem? Because in a lot of tutorials I have seen that they put infaltions next to the walls and there the mesh is cooper and inside the domain it becomes Tgrid or Pave - Picture 1 and Picture 2. So my question is: 1.Is this a problem, the Tgrid mesh next to walls and cooper scheme inside? [Quote]Meanwhile, I have attached another pic for you to give u an idea of how u can use Hex/Pave Cooper for your garage volume. Do the volume splits as indicated. Then do ur jet fan volume mesh, Volume X & volume Y mesh, fire subdomain volume mesh, inlet & outlet face and then do your garage mesh by Cooper scheme. It should work fine.[Quote] I have tried to make the things that you said as follows: 1.Mesh faces of Inlets and Outlets with Quad/Tri-Pave 2.Mesh the Fire Volume,Jet Fan,Volume X and Y wit Hex/Wedge-Cooper 3.Then the big Volume with Hex Wedge Cooper and there is a source face which stops the whole operation.It gives me an error:Source facing do not allow Cooper meshing for Volume 1(the big Volume) Picture 3(with initial meshing of the round faces with Quad/Pave), Picture 4(without initial meshing of the round faces) the same error. I think the problem is with the round faces of the jet fan and big(round intlets and outlets)or because there is a gap inside the jet fan between the cylinder and the cube for the protection of the jet fan(picture 5). So what do you think? 2.Where is the problem with the cooper meshing, the gap, the mesh of the round facese of the inlets and outlets or smth else? Thank you |
|
November 17, 2013, 11:00 |
|
#53 |
Member
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 14 |
-------------------------------
[Quote]Going off-track a little bit to CFX model: Do you think velocity inlet and velocity outlet BCs are good idea? Are these directly connected to inlet and exhaust fans via duct?[Quote] The Inlets and Outlets at the walls are the big fans for supply and exhaust air in case of fire, if you are talking about them. They are big ventilators like picture 6 and picture 7, that are connected with a big shaft that goes outside. Do you find a problem modeling the like this BC- Inlets and Outlets??? |
|
November 17, 2013, 17:04 |
|
#54 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
The CFX documentation has important comments on boundary condition selection. If you select velocity inlet and outlet then the pressure level is not set and the simulation is badly posed. You need to set the pressure somewhere.
|
|
November 17, 2013, 18:17 |
|
#55 |
Member
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 14 |
I set the refference pressure into the domain options to 1 atm? So is this correct?
|
|
November 17, 2013, 18:21 |
|
#56 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
The reference pressure does not set the pressure level in the simulation domain as there is still the unknown pressure offset from the reference pressure. Reference pressure is used to reduce numerical round-off errors. You need to set the pressure level somewhere, somehow.
|
|
November 18, 2013, 04:14 |
|
#57 | |||
Member
Abdul Afoo Parkar
Join Date: Oct 2012
Posts: 42
Rep Power: 14 |
Quote:
Quote:
The idea behind this ENCASING volume is to make make it easier for Cooper algorithm to find end caps- i.e source and projection faces-for volume mesh. (However, It looks like you have actually subtracted this volume from the domain- and that's why u call it 'gap'. Is that correct? ) Once you have done all this; proceed to creating Volume X and Volume Y, and then splitting them with garage volume... and then the steps as before: 1.Mesh faces of Inlets and Outlets with Quad/Tri-Pave. 2.Mesh the Fire Volume,Jet Fan,Volume X and Y wit Hex/Wedge-Cooper [ADD: mesh of ENCASING volume] 3.Then the big Volume with Hex Wedge Cooper I hope above steps work out for you. If not, then we need to troubleshoot more. In any case, you still have a Tgrid-HEx mesh, which is good enough progress! ---------------------------- Quote:
So, instead of velocity, how about setting a mass flow boundary condition? Last edited by A_Prakash; November 18, 2013 at 09:32. |
||||
November 18, 2013, 12:18 |
|
#58 | |
Member
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 14 |
Quote:
You were absolutely right about the inlets and outlets with velocity, I was really surprised what I have seen. Total disaster,nothing with reality. I have set BC with Mass flow and now works better, but I have few questions.I have the mass flow of the fans in m3/h from the company that is selling them, but in CFX i have to set the mass flow in kg/s and due to the fact that I have I lot of variations in the density: 1.For example I have One Inlet Ventilator(with Inlet CFX BC) with mass flow 5300 m3/h that blows air with temperature 20 C in case of fire , and one outlet ventilator(with Outlet CFX BC) that sucks air with flow 6000 m3/h in case of fire. So the air density is app. 1.2 kg/m3 for the inlet with air at 20 [C],so my mass flow in kg/s = 5300*1.2/3600=1.766 [kg/s]. But about the Outlet, what is density????? Because it is changing throw all the simulation, because I suck hot gases and there density varies,but I need to set an mass flow in the begining of the simulation???? When I run the simulation there is a problem with the density of the Inlet Air,till the 80 [s] everything is fine, but after that the density of the air that comes from the inlet starts to rise till value of 3.40 [kg/m3], so there is a mistake and I dont know Where? Attached are picture with the variations of density and the CFX input. My reference pressure is set to 1 atm, buoyancy effect included with z=-g, Total energy heat transfer model, Turbulence=Shear Stress Method, Fluid Material-Air Ideal Gas. The Fire grows quadratic from 0 to 80 [s],the from 80[s] to 160[s] maxPower and there from 160[s] to 200[s] extinction. Timesteps are 200*1[s] So My questions are: 1.Why is this problem with the inlet density, because of the static temperature, I has to enter Total temperature or smth else??? 2.How I can set the Outlet to be consistent with the density variations and also with the my initial value for the massflow rate 6000 m3/h? Thank you. |
||
November 18, 2013, 12:24 |
|
#59 |
Member
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 14 |
||
November 19, 2013, 02:53 |
|
#60 | ||
Member
Abdul Afoo Parkar
Join Date: Oct 2012
Posts: 42
Rep Power: 14 |
Your assessment of inlet side density to compute massflow is logical. However, it is strange as to why you see such high density. Even Air at -25C has Rho of 1.42 kg/m^3 (Source: Wikipedia). But seeing the pics u have attached, should we jump to conclusions? You have attached just one slice plane of contour. Do not forget that CFD calculation is about average values, nothing is entirely absolute. A better thing to do, I suggest, is to take areAve of Density at your inlet face at various timesteps, I am sure it would not be as high as 3.4 kg/m^3.
Other things to ask yourself: [I am sure Mr. Glenn and other experience users can add more insight on this...] 1. What about your convergence criteria? 1e-4, or less tight? 2. Is your specified flowrate (1.766 kg/s) being maintained? Check it through Function Calculator. Is it different from 1.766 kg/s? If yes, then how much? Is that 'how much' significant or 'ignorable'. If a solution is converged, then almost invariably your flowrate would be 1.766 +/- 0.001. [All that has been mentioned above in pt. 2 is based on my little experience so far. Experienced users may have a more refined explanation. I hope Mr. Glenn or other users add their opinions too]. 3. Try using physical time steps instead of Autotimescale. They make that clear in the CCL sheet you have posted in the beginning of this thread. It says: "Buoyant flows can be difficult for the steady state solver to converge. It is often beneficial to use the transient solver even for a steady state solution. Time steps of around 1s may be possible for an inert fire model. The steady state solver can be run initially with auto time stepping. The time steps reported by the auto time stepping can by used as a guide for setting a transient time step." Quote:
Quote:
Back to ur specific case: Your exhaust fan must have the same or similar extraction capacity as inlet fan? Is that right? If yes, just set your Outlet flowrate to be same as inlet flowrate. However, I am curious as to why your model garage does not have any atmospheric opening. Usually for ventilation purposes, mechanical supply is 80% (even upto 90% sometimes) of mechanical exhaust, rest 20% is sucked in through atmospheric openings. |
|||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Car park ventilation and impulse fans | guillaume | Phoenics | 9 | October 27, 2015 06:57 |
Fire & Smoke in Building | Jenn | FLUENT | 5 | December 30, 2012 00:15 |
Questions about smoke modeling using CFX | rafiktharwat | CFX | 0 | March 14, 2011 12:38 |
smoke (fire simulation) | matt | Phoenics | 4 | October 23, 2007 02:40 |
smoke (fire simulation) | matt | Fidelity CFD | 0 | January 5, 2007 05:47 |