geometry info read from file is incompatible with previously set geometry (bounding box, circular boundaries) - Model may not run properly!

Asked by Temitope

Hi,

I am trying to read a geometry constructed from gengeo into my main script but i am getting:

geometry info read from file is incompatible with previously set geometry (bounding box, circular boundaries) - Model may not run properly!

Further view from paraview does not give what it intend to be. Please help me with this.

Kind Regards
Tope

Question information

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

Hi Tope,

I suspect this error is because you have both a sim.setSpatialDomain(..) and a sim.readGeometry(..) in your main script. Both of these commands set the simulation bounding box although this should be done only once per simulation.

Try removing the sim.setSpatialDomain(..) command from your script and try it again. If this does not work, please post your main script to this thread.

Cheers,

Dion

Revision history for this message
Temitope (temitope) said :
#2

Hi Dion,

Thank you for the response. Hope you don't mind if i email my scripts to you.

Kind Regards
Tope

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

Hi all interested readers,

Having reviewed Tope's scripts, the source of the warning message in the OP was indeed due to calling both sim.setSpatialDomain(..) and sim.readGeometry(..) with differing bounding boxes. In almost all cases, it is best to avoid using sim.setSpatialDomain(..) if one plans to import particles via sim.readGeometry(..).

Cheers,

Dion

Revision history for this message
Temitope (temitope) said :
#4

Thank you so much Dion!