← Back to team overview

yade-users team mailing list archive

[Question #701228]: negative volume for an ordinary pore (temp warning, should still be safe)

 

New question #701228 on Yade:
https://answers.launchpad.net/yade/+question/701228

Hi,

I am measuring pore radius and pore volume using the TwoPhaseFlowEngine() for my packing of sphere (using ymport), I am getting following error message when I run my code:
"negative volume for an ordinary pore (temp warning, should still be safe)"
*** stack smashing detected ***: terminated,

than Aborted (core dumped), and the whole thing crashes.

Best regards,
Mithu

Here is my code:

import os
import numpy as np
import pandas as pd
from yade import pack, ymport
from yade import utils, plot, timing

O=Omega()
path_data='/home/mithushan/Swelling/PH101_20_1mm_removed_die/Particle_pos'
filename='PH101_particle_pos_20_1_2.0000009999999997.txt'

a=ymport.text(os.path.join(path_data,filename), shift=Vector3(0, 0, 0), scale=1.0)
O.bodies.append(a)

unsat = TwoPhaseFlowEngine()
unsat.initialization()
unsat.getCellVoidVolume(100)
unsat.getCellInSphereRadius(100)
unsat.savePoreNetwork()






-- 
You received this question notification because your team yade-users is
an answer contact for Yade.