firemodels / fds

Fire Dynamics Simulator
https://pages.nist.gov/fds-smv/
Other
674 stars 627 forks source link

Problem with heat transfer in an i-shaped column with HT3D=.T. #12163

Closed ASpallek closed 1 year ago

ASpallek commented 1 year ago

Hello there, I'm simulating a fire near to a i-shape column with multiply meshes (168) and I use the 3D heat transfer by setting HT3D=.T. I also set NEIGHBOR_SEPARATION_DISTANCE=3 but as you can see in the picture, there is no heat transfer beyond the different meshes. Does anyone have an idea what I'm doing wrong? Thank you

Greetings Alex Screenshot 2023-10-02 101624

drjfloyd commented 1 year ago

You may not be doing anything. Kevin did recently fix a bug dealing with mesh boudaries and HT3D. Try the current test version of FDS (https://github.com/firemodels/test_bundles), and see if that solves the problem.

ASpallek commented 1 year ago

Thank you! I've downloaded the test version and restarted the simulation. I'll give a feed back if it works.

ASpallek commented 1 year ago

I've checked the results but there is still the same issue.

mcgratta commented 1 year ago

I need an input file.

ASpallek commented 1 year ago

Here is my input file. ht3d_168.zip

mcgratta commented 1 year ago

I am running the case.

ASpallek commented 1 year ago

The screenshot was taken at a time of around 100s, so it's not necessary to simulate the whole 30 minutes to check whether the problem occurs.

mcgratta commented 1 year ago

Yes, I am looking at the internal temperatures.

mcgratta commented 1 year ago

This is a bug. The heat flux from the fire is not being transfer to the web. I'll work on a fix.

ASpallek commented 1 year ago

Okay, thank you. I'll wait for the fix but meanwhile I have found a little workaround for my problem. I don't use several meshes in the area of ​​the column cross section and now I can at least see the temperature distribution on the web for the different meshes along the z-axis.

mcgratta commented 1 year ago

It is not a mesh issue. It has to do with the boundary condition at the forward pointing edge of the web.

ASpallek commented 1 year ago

Hello again, is the fix still in progress or already done? Thank You.

mcgratta commented 1 year ago

It is fixed in a branch that has not been merged into the master. The fix is on this branch.

ASpallek commented 1 year ago

Maybe I'm overlooking something, but is there a way to download the installer for Linux somewhere?

mcgratta commented 1 year ago

You would have to clone my branch of the fds git repository and then compile yourself. If you cannot do this, you'll have to wait until we merge my fix into the master branch and release a test bundle.

ASpallek commented 1 year ago

Hi, I've been trying to compile your branch for the past two days, but I keep running into issues at the "Configure and install Open MPI" step (I've been trying it on WSL2). Is there an estimate for when the ht3d-fix will be available as a test bundle? Thank you.

marcosvanella commented 1 year ago

Do you have a linux or windows OS? In either case you don't need to compile openmpi. Just download and install Intel OneApi Base and HPC toolkits. That will give you all libraries you need to compile fds. Given you are doing research it is a good skill to be able to compile the code from source.

mcgratta commented 1 year ago

I committed fixes to the 3D heat transfer routine that should address your problem. Clone the master branch and recompile.

mcgratta commented 1 year ago

A new nightly build of FDS can be found here. Give it a try and let me know if it solves your problem.

ASpallek commented 1 year ago

Thank you for your responses and tips. Today I managed to compile FDS with the help of your guide using Intel OneAPI ... and it seemed like it was no longer necessary :D, but still a good exercise. @mcgratta I will let you know

mcgratta commented 1 year ago

It is a useful exercise. If you plan to do any research in CFD, you should learn how to compile code.

ASpallek commented 1 year ago

I have submitted the simulation to the cluster, but there are still many simulations in the queue ahead of mine. I will reach out as soon as I have first results.

ASpallek commented 1 year ago

The nightly build doesn't solve the Problem. For me, it looks even worse. Fire_at_Column_0166

mcgratta commented 1 year ago

I'll take a look.

mcgratta commented 1 year ago

I have been considering this simpler case

&HEAD CHID='column3', TITLE='Fire_Column' /

&MESH IJK=5,12,30, XB=-2.30, -2.05, -0.90, -0.30, +0.00, +1.50, MULT_ID='mesh' /
&MULT ID='mesh', DX=0.25, DY=0.60, DZ=1.50, I_UPPER=5, J_UPPER=2, K_UPPER=1 /

&TIME T_END=1800. /
&DUMP NFRAMES=1800. /
&MISC NEIGHBOR_SEPARATION_DISTANCE=3 /
&SURF ID='HOT', TMP_FRONT=500, COLOR='RED', HEAT_TRANSFER_COEFFICIENT=0 /
&OBST XB=-1.40, -1.20, -0.10, 0.10, 00.40, 01.00, COLOR='RED', SURF_ID6='HOT','INERT','INERT','INERT','INERT','INERT' /

&OBST XB=-02.000, -01.982, -00.150, 00.150, 00.05, 02.50, SURF_ID='F_Stahl' /
&OBST XB=-02.000, -01.500, -00.005, 00.005, 00.05, 02.50, SURF_ID='F_Stahl' /
&OBST XB=-01.518, -01.500, -00.150, 00.150, 00.05, 02.50, SURF_ID='F_Stahl' /

&SURF ID='F_Stahl', MATL_ID='STEEL', HT3D=T, CELL_SIZE=0.025, COLOR='BLACK', HEAT_TRANSFER_COEFFICIENT=0 /
&MATL ID='STEEL', SPECIFIC_HEAT=0.45, CONDUCTIVITY=50, DENSITY=7850, EMISSIVITY=0.7 /

&VENT MB='XMIN', SURF_ID='OPEN' /
&VENT MB='XMAX', SURF_ID='OPEN' /
&VENT MB='YMIN', SURF_ID='OPEN' /
&VENT MB='YMAX', SURF_ID='OPEN' /
&VENT MB='ZMAX', SURF_ID='OPEN' /

&SLCF PBY=0, QUANTITY='TEMPERATURE', CELL_CENTERED=T /

&BNDF QUANTITY='WALL_TEMPERATURE', CELL_CENTERED=T /
&BNDF QUANTITY='ADIABATIC SURFACE TEMPERATURE', CELL_CENTERED=T /

&TAIL /

whose output is

image

The problem with all these cases is that the Smokeview image only shows one temperature value per solidi face cell, which in your case is 5 cm by 5 cm. This sometimes produces a odd-looking result. I am running your bigger case now. Is there some value of temperature that is expected? It is difficult to know if the simulation is right or wrong just by appearance.

ASpallek commented 1 year ago

Thank you for your feedback, so it seems to be working after all. This was intended as a test run to get first results of the temperature distribution in the web when only the front flange is influenced by thermal radiation. Due to the high thermal conductivity, I don't expect significant differences between the flange and the web, but I cannot say for certain yet.

mcgratta commented 1 year ago

I added a test case that demonstrates that the increase in the enthalpy of the solid column is equal to the net heat flux at the surface.