how to extract the coordinate values of the parts of the Mixture fraction as data.

138 views
Skip to first unread message

MinJoo Lee

unread,
Sep 11, 2023, 10:00:44 AM9/11/23
to FDS and Smokeview Discussions
I want to extract as data the coordinates of the part where the mixture fraction is equal to 0.06.

Please tell me how I can extract them in pyrosim and FDS.

For reference, I'm trying to predict the height of the flame by extracting a value where the mixture fraction is 0.06. I'm desperate for help.

Thanks.

Kevin McGrattan

unread,
Sep 11, 2023, 10:29:04 AM9/11/23
to fds...@googlegroups.com
Is there anything in the User's Guide?

MinJoo Lee

unread,
Sep 11, 2023, 9:50:06 PM9/11/23
to FDS and Smokeview Discussions
You can point to a 3D slice and collect data at each point, but you can't seem to draw any lines.

Alternatively, I can specify a slice in the 3D slice to get an approximate distribution or behavior of the property values, but I haven't found a way to extract the exact values of the area I want into an Excel file.

If you know of a way, please help me

2023년 9월 11일 월요일 오후 11시 29분 4초 UTC+9에 Kevin McGrattan님이 작성:

Glenn Forney

unread,
Sep 11, 2023, 11:14:30 PM9/11/23
to FDS and Smokeview Discussions

1. select Dialogs>File/Data/Coloring menu item
2. select Slice tab then Settings tab
3. check Output data (press r) checkbox
4. Load slice file, position time bar to time you want
5. press 'r' key
smokeview will output slice file data appearing in scene to a csv file  (and a png image file).  you can then examine this file to to obtain the data you want.  there will be one csv file for each mesh

Glenn Forney

unread,
Sep 11, 2023, 11:17:00 PM9/11/23
to FDS and Smokeview Discussions
also in the 'slice values' panel under Settings, you can press the "show all regions" button to cause smokeview to output slice file data to the screen.  you can change the number of digits displayed so that numbers do not overlap

MinJoo Lee

unread,
Sep 12, 2023, 5:04:22 AM9/12/23
to FDS and Smokeview Discussions
Thank you so much for your detailed response. However, I have an additional question.

1. I did what you said and extracted the data, but I don't know how the extracted data is organized.

- I want to check the mixture fraction value at 5s of the 10s simulation, and the mesh is divided into 3 parts.
- I've attached the captured screen and the extracted data.

2. do you think there is a more suitable way to extract the average flame height using mixture fraction from 5s to 10s? With the method you mentioned, it seems like I have to manually extract the values every n seconds and then average them.

2023년 9월 12일 화요일 오후 12시 17분 0초 UTC+9에 Glenn Forney님이 작성:
2122715346_2_5_sf_494.csv
2122715346_0494.png
2122715346_1_5_sf_494.csv
2122715346_3_5_sf_494.csv

Kevin

unread,
Sep 12, 2023, 9:07:09 AM9/12/23
to FDS and Smokeview Discussions
Try this

&ISOF QUANTITY='MIXTURE FRACTION', VALUE=0.06 /

Bryan Klein

unread,
Sep 12, 2023, 11:44:49 AM9/12/23
to FDS and Smokeview Discussions
You can also make a 3D Slice of Mixture Fraction as FDS output, and then add animated isosurfaces at specific Mixture Fraction values in PyroSim Results after the simulation is complete.
Adding Isosurfaces, 2D Slices at any angle through the data, and sampling points within the 3D Slice volume are post-processing features in PyroSim Results.

It is an interesting feature request to get an output of the vertex points of the animated isosurface.  If they were output in face order, someone could reconstruct the isosurface over time as a 3D object.

-Bryan

Glenn Forney

unread,
Sep 12, 2023, 11:59:56 AM9/12/23
to FDS and Smokeview Discussions
output an isosurface that kevin susggested.  then try smokeview posted here

I added an option to output a bounding box to a csv file for each isosurface time step.  

format:
label
t,xmin,xmax,ymin,ymax,zmin,zmax
so the zmax column values would the the highest elevation of the mixture fraction isosurface at each time

note.  isosurfaces can have multiple levels.  I haven't tested yet for a multi-level case

MinJoo Lee

unread,
Sep 13, 2023, 5:50:24 AM9/13/23
to FDS and Smokeview Discussions
Thank you all!!
I'll try all of you suggested.


2023년 9월 13일 수요일 오전 12시 59분 56초 UTC+9에 Glenn Forney님이 작성:
Reply all
Reply to author
Forward
0 new messages