raw2tostress

Asked by Shen Weigang

Hi,

I am using the tool 'raw2tostress' to obtain volumetric stresses from a simulation.

However, this tool donot work. I met an exception that "volume 0 larger than sphere volume"

Please help me with this

Best regards,

Shen

Question information

Language:
English Edit question
Status:
Expired
For:
ESyS-Particle Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dion Weatherley (d-weatherley) said :
#1

Hi Shen,

There is more information about raw2tostress here:
https://answers.launchpad.net/esys-particle/+question/226129

Cheers,

Dion

Revision history for this message
Shen Weigang (wgshen) said :
#2

Hi Dion,

Thank you for your help. I hvae read this note.

However, I still met the exception that "volume 0 larger than sphere volume".

I guess that a incorrect value of BoundingBox or GridSpacing is chosen.

So, I want to know what the BoundingBox and GridSpacing should be.

Best regards,

Shen

Revision history for this message
Dion Weatherley (d-weatherley) said :
#3

Hi Shen,

So that I may help you, please describe your specific problem in more detail:

What specific 'raw2tostress' command results in the error message?

Have you added the correct FieldSaver to your simulation script?

What is the bounding box of your simulation?

What is the size range of your DEM particles?

Please provide as much information as possible. It is not sufficient to simply state the error message.

Cheers,

Dion

Revision history for this message
Shen Weigang (wgshen) said :
#4

Hi Dion

My mumerical model is used to investigate the fragmentation of spherical block impacting against a rigid ground. The

diameter of the spherical block is 1.0dm. The ground is represented by a layer of fixed particles.

The Error message is: Volume 0 largee than sphere volume -3.39487. box = (-2.025 -0.275 -2.025, -1.975 -0.225 -1.975), sphere = (-0.52916 -6.42305 -7.57888, -0.932348) terminate called after throwing an instance of 'std:: runtime_error'

The bounding box of my simulation is [(-2.0, -0.25, -2.0), (2.0, 2.0 ,20)], and the particle size range is [0.0075, 0.0225].

The FieldSaver is correct.

Cheers,

Shen

Revision history for this message
Dion Weatherley (d-weatherley) said :
#5

Hi Shen,

Thanks for the additional information but you still have not posted the actual 'raw2tostress' commandline arguments you are currently using. It is not possible to diagnose your problem without that information.

Cheers,

Dion

Revision history for this message
Shen Weigang (wgshen) said :
#6

Hi Dion

The commandline is:

      for i in range(0,100):
                os.system("raw2tostress -2.0,-0.25,-2.0,2.0,2.0,2.0 0.05 bond_force."+str(i)+".dat stressVTK"+str(i)+".vtu" )

Cgeers,

Shen

Revision history for this message
Dion Weatherley (d-weatherley) said :
#7

Hi Shen,

Have you tried using a larger GridSpacing?

Try increasing from 0.05 to 0.2 and let me know if the problem/error persists.

Cheers,

Dion

Revision history for this message
Shen Weigang (wgshen) said :
#8

Hi Dion

I have enlarged the GridSpacing.

The error still persists.

Cheers,

Shen

Revision history for this message
Launchpad Janitor (janitor) said :
#9

This question was expired because it remained in the 'Open' state without activity for the last 15 days.