multiphysics icon indicating copy to clipboard operation
multiphysics copied to clipboard

Change computational grid

Open joaofl opened this issue 11 years ago • 3 comments

Hi,

I was wondering how could I change the computational grid of the simulator. I'm aware about the decrease on the performance, but I would like to extract some more accurate data for an experiment of mine.

It seems that the size is defined inside the Model2D.java file. If I change it, should it work fine?

And after changing it, how could I compile it?

Thank you very much.

João

joaofl avatar Jul 15 '14 00:07 joaofl

Sorry, I didn't see these issues until today. For conduction simulations and probably radiation simulations, this should be fine. For convection simulations, this is more a problem due to the butterfly effect in transient simulations. A change of grid size will create impacts far greater than a butterfly as you can imagine. So I would say steady problems should be fine, but I am not sure about transient problems. I am curious how other CFD software deals with this.

charxie avatar Feb 14 '16 00:02 charxie

@charxie: Was there any development regarding this? It is a great simulator for dummies and for learning proposes, since going to more complex CFD can cost a lot (Open FOAM for example).

joaofl avatar Jul 20 '16 14:07 joaofl

@joaofl: You might try the energy2d version in the current pull request. This update should be able to properly deal with modified grid resolutions as you intended right at the beginning.

AnaMarkH avatar Jan 03 '17 23:01 AnaMarkH