## Calculate Volumes of Cells

Suggest new ideas here
jesse.johns
Posts: 114
Joined: Wed Apr 20, 2011 5:19 am

### Calculate Volumes of Cells

Hello,

An option to computer the cell volumes similar to Serpent 1's:

Code: Select all

``-checkvolumes``
would be excellent for verification of inputs and dimensions. This would also be helpful for printing out the interface volumes before had, too, for post-processing. I currently have a separate binary that I use where I modified printinterfaceoutput.c to do that for me. I notice there's a MATLAB output option, but that's pretty memory heavy for large problems - and I don't need it printed out with every run.

Thanks,

Jesse

Ville Valtavirta
Posts: 418
Joined: Fri Sep 07, 2012 1:43 pm
Security question 1: No
Security question 2: 92

### Re: Calculate Volumes of Cells

Hi Jesse,

do you mean specifically geometry cell volumes? Total material volumes should be already printed out by

Code: Select all

``-checkvolumes <N_points> ``
-Ville

jesse.johns
Posts: 114
Joined: Wed Apr 20, 2011 5:19 am

### Re: Calculate Volumes of Cells

Hi Ville,

Yes, I specifically mean the cell volumes. It's easy enough to make many unique materials, then compute the material volumes - which then correspond to the cell volume. Since this is a process I do quite regularly, I figured it might be a useful suggestion. I often deal with pretty complex 3D geometries, so this helps with my verifications to ensure everything is built correctly. I had looked at the portion of code for computing the material volumes and there didn't seem to be an easy way out for me to modify it, hah.

Jesse

Jaakko Leppänen
Posts: 2179
Joined: Thu Mar 18, 2010 10:43 pm
Security question 2: 0
Location: Espoo, Finland
Contact:

### Re: Calculate Volumes of Cells

The reason I originally chose not to include the cell volumes is that there are many ways to build a geometry in such way that the actual cell names are not apparent to the user. Would it be enough if the volumes were printed for cells defined using actual cell cards?
- Jaakko

jesse.johns
Posts: 114
Joined: Wed Apr 20, 2011 5:19 am

### Re: Calculate Volumes of Cells

Ahh, right. Especially with region divisions.

That considered, I think it might not be as useful, generally, as I had thought. The material definitions do allow one the flexibility to essentially determined how the volume is computed.