Acces violation error #15489
Replies: 11 comments 47 replies
-
|
We would need the entire input file and we would have to run it ourselves to see what the problem is. The error is some undefined internal error. |
Beta Was this translation helpful? Give feedback.
-
|
Your input file is overly complicated and messy. Why are you using multiple reactions for the materials? I suggest you use a single |
Beta Was this translation helpful? Give feedback.
-
|
Thank you all for your help and guidance. After some time i managed to get a reasonable flame spread on my object and apply the burn_away feature. However i'm stuck on some certain results that are bugging me and i am unable to justify them: 1-I put surface density sensors for the wood birch material and the char residue in order to see if the mass of the wood is converted to the specified amount of residue noted in the code (0.172) and i don't obtain the same value (1.43 max value in devc.csv whereas it should be 10.890.172=1.87). Is it possibly due to the fact that i need to define a finer mesh (even though i doubt it because i calculated the ratio of the D and the cell size and it is of a value that is between 10 and 20)? I also defined a density sensor for the cellulose fuel and it doesn't give me anywhere near the expected mass from the pyrolysis of the wood. 2-Secondly after a certain time the mass of char and cellulose start to decrease reaching 0 for the char and remaining constant at 0.02 for the cellulose. Is this reasonable given that i didn't specify that the char must be all consumed as well. Also the solid density devices are not being registered in the device file and i can't figure out why since the simulation runs normaly. 3-Finally i have a question about the burn away feature. At first i notice the flame spreads from the sides of the table to the center, and so cubes little by little start disappearing from the side to the center( i attached a couple of figures at certain time periods). Is this physically logical, especially since i have a very high temperature at the surface of the table around 25 secs , whereas the table disappears entirely around 250 sec, as well as having cubes that are not attached to anything floating in the air before disappearing? Is it also possibly a problem of refining the mesh ? I have attached a much cleaner version of the code, as well as the devc and hrr csv files and a couple of results at certain times of the simulation. The wood properties were taken from the work of Ana Matala - Estimation of solid phase reaction parameters for fire simulation. Any sort of feedback and advices would be appreciated since i am fairly new to pyrolysis studies on FDS and i believe that processing these results for this "fairly simple case" is essential in order to achieve my main goal which is modeling the pyrolysis of composite sandwiches. pyrolysis_birch_devc.csv |
Beta Was this translation helpful? Give feedback.
-
|
For simulations like this, the first thing I do is to create a very small test case in which I have a single obstruction ( |
Beta Was this translation helpful? Give feedback.
-
|
Well noted. I was just having a look at one of the box burn away examples (box burn away 2D residue) and wanted to verify if the same initial mass i had for the box is conserved for the produced fuel and residue. It states in the file that the box mass is 200.40.4*.4=1.28 kg, however when you measure it in the devc file it gives a mass of 12.8 ,what is the reason behind this? Also i tried to measure the residue mass formed and i don't get the logic behind the values i get ( why does the mass after a certain while drop to 0 and shouldn't the maximum mass reached be also 0.64?). I attached the excel results and the line of command i added to measure the mass of the residue to the code. box_burn_away_2D_residue_modified.txt |
Beta Was this translation helpful? Give feedback.
-
|
I tried running a more simplified case in an inert environment with 700 C applied at the walls just like Mr McGratta recommended for the birch wood. It is only one reaction as well with 0.173 mass fraction of char residue and the rest is the fuel. I put the surface density devices and applied the surface integral on one face of the geometry in order to calculate the decreasing mass of the birch(5500.0051.82.2=10.89 kg), and to verify its conversion to char(0.17310.89=1.884)and fuel(10.89*0.828=9.006). My initial measured mass of birch is equal to what i expected which leads me to believe that i have correctly defined my surface density devices. However in my case i get a quantity of residue that not only is smaller than specified in the NU_MATL(a max of 1.5327) , but is also decreaseing to 0 leading me to have 100% of the birch wood being converted to fuel at the end. I also integrated the mass loss ratio of the fuel in function of time and i found out that the total quantity produced is also equal to the inital mass of the birch wood. I'm trying to figure out the reasoning of these results. Does the produced residue also pyrolyzes thus justifying a peak different than expected, its decreasing mass and its addition to the fuel's? Any help or explanations would be appreciated. The birch pyrolysis parameters are from the article of Anna Matala: estimation of pyrolysis model parameters for solid materials using TGA Data. I attached the fds script and the device csv file.
birch inert pyrolysis test.txt |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
After obtaining satisfying results for the the pyrolysis model of birch, i decided to try a multi layered material made of 2 polyester layers and a core of balsa wood. The pyrolysis models for these materials were taken from an experiment performed in 2008 by the LNE in France. However in the older version of FDS (v5.3), there wasn't a way to define the SPEC_ID for each material when defining the pyrolysis model, instead it was just the fuel defined in the reaction. Is it always the same case, or can i define for example cellulose as the fuel produced by pyrolysis of the balsa, and another fuel that is produced by the pyrolysis of the polyester? I tried this and it seems to work fine. I just want to make sure that this definition is coherent and if it requires any modification (i.e. defining additionaly the heat of combustion of the cellulose to make sure i have the proper amount of energy and consequently define a HOC_COMPLETE to adjust the effective mass loss rate in order to obtain a mass balance between the produced fuel and residue and the original material). Any advice or guidance is always appreciated. |
Beta Was this translation helpful? Give feedback.
-
|
I took a look at the guide and other discussions on the forum and i hope i correctly understood the difference between the heat of combustion defined in the matl and reac lines. Basically if i understood correctly, it is used to represent the actual gases being produced by pyrolysis when defining a single gas in the reac line, and it scales the mass in order to have a conservation of energy such as mass_matlhoc_matl=mass_reachoc_reac. When i studied previously the pyrolysis+combustion of the birch wood, i defined a single fuel which happened to be the one used in the burner and at the same time produced by pyrolysis hence the energy balance was already established. But supposing i want to define a different burner fuel such as propane with an H_O_C of 43058 kJ/kg, then i should specify the H_O_C of the birch wood gas produced in the pyrolysis model (14988 kJ/Kg) while defining the SPEC_ID=PROPANE, in order to signal that i get a different gas specie produced than the one defined in REAC. Therefore the mass of the formed pyrolysed gas will be equal to the value defined in the NU_SPEC (10.890.828=9.016), and so the mass_reac = mass_gas from matl hoc matl/hoc_reac=9.016* 14988/43058 and so this value+ the mass in the burner is equal to the value integrated from the MLR column in the hrr column. Is my analysis correct? An additional question i would like to ask as well is why the HRR peak is smaller than the one calculated with MLR* heat of combustion of propane? I attached the modified fds file and the hrr csv files in order to clarify my explanation a little bit. Any calrification or response would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the clarification. I have a follow up question. Is it possible to define multiple species like for example the cellulose gas that is formed from the pyrolysis of the birch wood and propane in the burner, and therefore define 2 reactions in order to avoid the scaling done when defining one reaction? Will this give different results? |
Beta Was this translation helpful? Give feedback.
-
|
Here are the input files for the 2 different cases. I just had to erase the balsa's properties due to confidentialy reasons and i can guarantee that the sum of nu_spec and nu_matl is equal to 1 for each reaction. |
Beta Was this translation helpful? Give feedback.











Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone ,
I am a fairly new user of FDS (v.6.10.1)and i am encountering an error when trying to simulate pyrolysis of sandwich composite with its core being made out of balsa and the layers are from fiber glass and polyester. Fire occurs at a bed made out of polyester, and the fire spreads to the narby walls, ceiling and ground that are all made of this composite material. I defined them first as steel and i ran the case and it worked perfectly, but when i change the material to composite in order to simulate the pyrolysis, it gives me the following error leading me to assume that i certainly made an error in definiing the pyrolysis model and materials but i can't quite figure out what it is.
Sundials library version: v6.7.0
Job TITLE :
Job ID string : pyrolyse
Time Step: 1, Simulation Time: 0.08926 s
forrtl: severe (157): Program Exception - access violation
Image PC Routine Line Source
fds_openmp.exe 00007FF7CEBCE203 Unknown Unknown Unknown
libiomp5md.dll 00007FFFEA850653 Unknown Unknown Unknown
libiomp5md.dll 00007FFFEA7B0A97 Unknown Unknown Unknown
libiomp5md.dll 00007FFFEA7B1E4E Unknown Unknown Unknown
libiomp5md.dll 00007FFFEA768D21 Unknown Unknown Unknown
fds_openmp.exe 00007FF7CEBBA0B6 Unknown Unknown Unknown
fds_openmp.exe 00007FF7CEC17D4D Unknown Unknown Unknown
fds_openmp.exe 00007FF7CE37FB5B Unknown Unknown Unknown
fds_openmp.exe 00007FF7CEE53C2C Unknown Unknown Unknown
KERNEL32.DLL 00007FF865BE7374 Unknown Unknown Unknown
ntdll.dll 00007FF867BFCC91 Unknown Unknown Unknown
i ran the case using 5 mpi processors given i have 5 mesh domains, with 2 openmp threads,. The total number of cells is relatively small of 240k cells, the majority being in the mesh domain where my pyrolysis occurs. Below are the materials i defined for the composite model :
&SURF ID = 'COMPOSITE'
MATL_ID(1,1:2)='Polyester','GLASS'
MATL_MASS_FRACTION(1,1:2)= 0.3,0.7
MATL_ID(2,1)='Polyester2'
MATL_ID(3,1:4)='WOOD','LIGNIN','WATER','Polyester2'
MATL_MASS_FRACTION(3,1:4)= 0.8,0.05,0.05,0.1
MATL_ID(4,1)='Polyester2'
MATL_ID(5,1:2)='Polyester','VERRE'
MATL_MASS_FRACTION(5,1:2)= 0.3,0.7
THICKNESS(1:5)= 0.003,0.0015,0.037,0.0015,0.003
BACKING= 'EXPOSED'/
& MATL ID = 'Polyester'
EMISSIVITY = 0.89
SPECIFIC_HEAT_RAMP = 'c_polyester'
CONDUCTIVITY_RAMP = 'k_polyester'
DENSITY = 1189
N_REACTIONS = 1
HEAT_OF_REACTION(1:2) = 1050., 1550.
MATL_ID(1,1)='CHAR'
MATL_ID(2,1)='CHAR'
NU_MATL(1,1)=0.05
NU_MATL(1,2)=0.0
SPEC_ID(1,1)='Polyester_fuel'
SPEC_ID(1,2)='Polyester_fuel'
NU_SPEC(1,1)=0.95
NU_SPEC(1,2)=1
HEAT_OF_COMBUSTION = 21000
REFERENCE_TEMPERATURE(1:2)= 395.,455. /
MATL_ID(1,1)='CHAR'
MATL_ID(1,2)='CHAR'
NU_MATL(1,1)=0.05
NU_MATL(1,2)=0.0
SPEC_ID(1,1)='Polyester_fuel'
SPEC_ID(1,2)='Polyester_fuel'
NU_SPEC(1,1)=0.95
NU_SPEC(1,2)=1
HEAT_OF_COMBUSTION = 19000
REFERENCE_TEMPERATURE(1:2)= 355.,405. /
&MATL ID = 'CHAR'
EMISSIVITY = 0.89
SPECIFIC_HEAT_RAMP = 'c_polyester'
CONDUCTIVITY_RAMP = 'k_polyester2'
DENSITY = 1109./
MATL_ID='FIBRE'
NU_MATL=1/
& MATL ID= 'WOOD'
CONDUCTIVITY_RAMP= 'k_balsa'
SPECIFIC_HEAT_RAMP= 'c_balsa'
DENSITY= 140.
A = 2.5E5
E = 8.8E4
HEAT_OF_REACTION = 0.
N_REACTIONS = 1
MATL_ID='ACTIVE'
NU_MATL=1/
HEAT_OF_COMBUSTION = 13408.
A(1:2) = 2.5E5, 3.23E14
E(1:2) = 8.8E4, 1.965E5
MATL_ID(1,1)='CHARCOAL'
MATL_ID(1,2)='CHARCOAL'
NU_MATL(1,1)=0.25
NU_MATL(1,2)=0.0
SPEC_ID(1,1)='Polyester_fuel'
SPEC_ID(1,2)='Polyester_fuel'
NU_SPEC(1,1)=0.75
NU_SPEC(1,2)=1/
&MATL ID = 'LIGNIN'
EMISSIVITY= 1.0
DENSITY = 150.
CONDUCTIVITY_RAMP = 'k_balsa'
SPECIFIC_HEAT_RAMP= 'c_balsa'
N_REACTIONS = 1
HEAT_OF_COMBUSTION = 1208.
A = 2.77E+7
E = 1.24E+05
HEAT_OF_REACTION = 146.
MATL_ID='CHARCOAL'
NU_MATL=0.15
SPEC_ID='Polyester_fuel'
NU_SPEC= 0.85/
&MATL ID = 'WATER'
DENSITY = 1000.
CONDUCTIVITY = 0.1
SPECIFIC_HEAT= 4.184
N_REACTIONS = 1
REFERENCE_TEMPERATURE = 100.
REFERENCE_RATE = 0.0016
HEATING_RATE = 10.
SPEC_ID = 'WATER VAPOR'
NU_SPEC = 1.0
HEAT_OF_REACTION= 2500./
&MATL ID = 'CHARCOAL'
EMISSIVITY = 1
DENSITY = 130.
CONDUCTIVITY_RAMP = 'k_charbon'
SPECIFIC_HEAT_RAMP = 'c_charbon'/
! Balsa Wood Thermal Properties
&RAMP ID='k_balsa', T=20., F=0.066 /
&RAMP ID='k_balsa', T=50., F=0.068 /
&RAMP ID='k_balsa', T=100., F=0.071 /
&RAMP ID='k_balsa', T=150., F=0.080 /
&RAMP ID='k_balsa', T=200., F=0.110 /
&RAMP ID='k_balsa', T=250., F=0.160 /
&RAMP ID='k_balsa', T=300., F=0.200 /
&RAMP ID='c_balsa', T=20., F=1.420 /
&RAMP ID='c_balsa', T=50., F=1.454 /
&RAMP ID='c_balsa', T=100., F=1.488 /
&RAMP ID='c_balsa', T=150., F=1.522 /
&RAMP ID='c_balsa', T=200., F=1.556 /
&RAMP ID='c_balsa', T=250., F=1.590 /
&RAMP ID='c_balsa', T=300., F=1.624 /
! Char Thermal Properties
&RAMP ID='k_charbon', T=20., F=0.008 /
&RAMP ID='k_charbon', T=50., F=0.011 /
&RAMP ID='k_charbon', T=100., F=0.021 /
&RAMP ID='k_charbon', T=150., F=0.036 /
&RAMP ID='k_charbon', T=200., F=0.057 /
&RAMP ID='k_charbon', T=250., F=0.083 /
&RAMP ID='k_charbon', T=300., F=0.114 /
&RAMP ID='k_charbon', T=350., F=0.151 /
&RAMP ID='k_charbon', T=400., F=0.194 /
RAMP ID='c_charbon', T=20., F=3.207 /
&RAMP ID='c_charbon', T=50., F=3.260 /
&RAMP ID='c_charbon', T=100., F=3.327 /
&RAMP ID='c_charbon', T=150., F=3.393 /
&RAMP ID='c_charbon', T=200., F=3.460 /
&RAMP ID='c_charbon', T=250., F=3.526 /
&RAMP ID='c_charbon', T=300., F=3.593 /
&RAMP ID='c_charbon', T=350., F=3.659 /
&RAMP ID='c_charbon', T=400., F=3.726 /
! Ramps for properties of CHAR
&RAMP ID='k_char', T=20., F=0.05 /
&RAMP ID='k_char', T=100., F=0.08 /
&RAMP ID='k_char', T=200., F=0.12 /
&RAMP ID='k_char', T=300., F=0.18 /
&RAMP ID='k_char', T=400., F=0.25 /
&RAMP ID='k_char', T=500., F=0.35 /
&RAMP ID='k_char', T=600., F=0.45 /
&RAMP ID='k_char', T=700., F=0.60 /
&RAMP ID='k_char', T=800., F=0.80 /
&RAMP ID='c_char', T=20., F=1.5 /
&RAMP ID='c_char', T=100., F=1.7 /
&RAMP ID='c_char', T=200., F=1.9 /
&RAMP ID='c_char', T=300., F=2.2 /
&RAMP ID='c_char', T=400., F=2.5 /
&RAMP ID='c_char', T=500., F=2.8 /
&RAMP ID='c_char', T=600., F=3.1 /
&RAMP ID='c_char', T=700., F=3.4 /
&RAMP ID='c_char', T=800., F=3.7 /
&RAMP ID = 'k_polyester', T = 20., F = 0.16 /
&RAMP ID = 'k_polyester', T = 100., F = 0.18 /
&RAMP ID = 'k_polyester2', T = 150., F = 0.16 /
&RAMP ID = 'k_polyester2', T = 200., F = 0.25 /
&RAMP ID = 'k_polyester2', T = 250., F = 0.3 /
&RAMP ID = 'k_polyester2', T = 300., F = 0.4 /
&RAMP ID = 'k_polyester2', T = 350., F = 0.50 /
&RAMP ID = 'k_polyester2', T = 400., F = 0.60 /
&RAMP ID = 'k_polyester2', T = 450., F = 0.80 /
&RAMP ID = 'k_polyester2', T = 500., F = 1.0 /
&RAMP ID = 'k_polyester2', T = 550., F = 2.0 /
&RAMP ID = 'c_polyester', T = 20., F = 1.247 /
&RAMP ID = 'c_polyester', T = 100., F = 1.680 /
&RAMP ID = 'c_polyester', T = 180., F = 2.180 /
!glass fiber properties
&RAMP ID = 'k_verre1', T = 20., F = 0.53 /
&RAMP ID = 'k_verre1', T = 200., F = 0.65 /
&RAMP ID = 'k_verre1', T = 300., F = 0.75 /
&RAMP ID = 'k_verre1', T = 500., F = 1.04 /
&RAMP ID = 'k_verre', T = 20., F = 1.1 /
&RAMP ID = 'k_verre', T = 200., F = 1.3 /
&RAMP ID = 'k_verre', T = 300., F = 1.47 /
&RAMP ID = 'k_verre', T = 500., F = 2.09 /
&RAMP ID = 'k_verre', T = 700., F = 5.02 /
&RAMP ID = 'k_verre', T = 900., F = 10.9 /
&RAMP ID = 'c_verre', T = 20., F = 0.87 /
&RAMP ID = 'c_verre', T = 200., F = 0.87 /
&RAMP ID = 'c_verre', T = 300., F = 0.96 /
&RAMP ID = 'c_verre', T = 500., F = 1.005/
&RAMP ID = 'c_verre', T = 700., F = 1.071/
!fiber properties
&RAMP ID = 'k_fibre', T = 0., F = 0.05 /
&RAMP ID = 'k_fibre', T = 100., F = 0.06 /
&RAMP ID = 'k_fibre', T = 200., F = 0.08 /
&RAMP ID = 'k_fibre', T = 300., F = 0.1 /
&RAMP ID = 'k_fibre', T = 400., F = 0.12 /
&RAMP ID = 'k_fibre', T = 500., F = 0.15 /
&RAMP ID = 'k_fibre', T = 600., F = 0.18 /
&RAMP ID = 'k_fibre', T = 700., F = 0.22 /
&RAMP ID = 'k_fibre', T = 800., F = 0.27 /
&RAMP ID = 'k_fibre', T = 900., F = 0.33 /
&SPEC ID='Polyester_fuel', FORMULA='C1.0H1.039O0.2N0.0035'/
&SPEC ID='WATER VAPOR'/
&SPEC ID='CARBON DIOXIDE'/
&REAC ID = 'Polyester_burn'
FUEL='Polyester_fuel'
CO_YIELD=0.047
SOOT_YIELD = 0.07 /
I tried to run the case with dry wood and so i defined and changed the spec_id to cellulose for the dry wood instead of polyester_fuel and it also works. I also don't understand what kind of species to put during the pyrolysis of certain materials like ACTIVE,LIGNIN,is it always the fuel used in REAC? Any help with pointing out the problem with the materials definition would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions