Skip to content

Using SparseGridTopology with a .msh file #4765

Discussion options

You must be logged in to vote

Hi @hugtalbot,

Thanks for the tip, now it is working exactly as I needed.

The only problem is that it is not working on a 2D mesh, but once I gave as input a 3D mesh created in Gmsh it worked.

For future reference here is the line that must be changed in the example I used before

self.coarse.addObject('SparseGridTopology', n="10 10 1", position='@grid.position', name='coarseGrid')

It would be great to find a way to have it work on 2D mesh, but for the moment it solves my problem.

Thanks again!

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@hugtalbot
Comment options

@itsmebonny
Comment options

Answer selected by hugtalbot
@hugtalbot
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants