Grid and drawings

Energy2D Forum Forums Energy2D Questions Grid and drawings

This topic contains 8 replies, has 2 voices, and was last updated by  barry-h 1 year, 10 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #63

    barry-h
    Participant

    Hi,
    I have a couple of questions I would like ask.
    What happens when shapes are overlapping or on top
    ie: a square with a circle on top representing a hole in the aquare.
    Can drawings be imported into the grid for computation.
    I have read that some work was done on a 500×500 grid but it caused
    an increase in computing time and also it may cause some unstable results.
    My interest with this software at the moment is conduction through layered
    materials with a 0.1mm air gap between one layer unfortunately I cannot scale
    it up to achieve a suitable model with the existing grid size.
    Is it possible to alter the grid to 500×500 or 400×400 and would the
    results for conduction be reliable.
    Many thanks for developing this software.
    Barry Hudson.

    #64

    Charles Xie
    Keymaster

    Good question about overlap. In theory, overlaps should be avoid. In practice, Energy2D treats a grid point in an overlap zone as the average between the two overlapping shapes. In other words, the property of an overlap point is the mean of the properties of the two overlapping objects. This is, of course, somehow a random choice.

    Right now, the program does not accept import of external geometries. But you can always open the e2d file (in XML format) with a text editor and copy the data into it. To see where to copy your polygon coordinates, you can create a simple polygon in Energy2D first and then copy the data over to overwrite it. Do this for as many polygons as needed. In the future, I might support import if you can tell me which format you would like me to support.

    Increasing the grid to 500 x 500 will slow down the calculation 25 times! And it may also cause the results to be different for convection simulations. It should be fine if you only have to deal with conduction, though.

    Let me know if you still have questions.

    #65

    barry-h
    Participant

    Hi,
    thanks for your quick response.
    Perhaps being able to import dxf files would be good
    but any file type that suits the program would help.
    With regard to grid resizing how would I do that as I am not a coder.
    Maybe the option to resize could be incorporated within the program
    but restricted to conductive models.
    If it’s possible the ability to Boolean join or subtract drawn shapes
    would help Model drawing.
    Cheers
    Barry

    • This reply was modified 1 year, 10 months ago by  barry-h.
    #67

    Charles Xie
    Keymaster

    Right now, you can’t change the grid size using the default version. But I can easily create a special build for you or you can do it yourself following the instruction on Github.

    In the future, I will consider supporting finer grids for all users.

    Shape operations are interesting but not supported currently. Perhaps in the future…

    #68

    barry-h
    Participant

    Thanks again for responding so quickly.
    It would be good if you could send me a modified version.
    As my conduction model is of forced cooling and only lasts
    seconds the increase in compute time is not a problem.
    Again many thanks
    Barry

    #69

    Charles Xie
    Keymaster

    Allow me a few days. I am under some deadlines.

    #70

    barry-h
    Participant

    Ok no problem .
    Barry

    #71

    Charles Xie
    Keymaster

    I added the following to the Download page: http://energy.concord.org/energy2d/download.html

    You can find the download link there.

    Download a High-Resolution Version

    Some users requested a version with a high-resolution grid other than the default 100×100. At this point, we haven’t provided the ability to adjust this within the software. As a workaround, we are providing a pre-compiled version with a grid of 500×500. Note that this would slow down a simulation for 25 times. And some fluid dynamics simulations may yield different results. However, if you are only concerned with thermal conduction, the results should be fine. This version is provided as a jar file. To run it, you must install Java on your computer first and then double-click on the jar file to launch it.

    #72

    barry-h
    Participant

    Hi Charles,
    thanks for your help will experiment with the new grid.
    Thanks
    Barry

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.