gdtk-uq/gdtk

Extract Surfaces Via Group Label

Opened this issue · 2 comments

I was wondering whether there was any simple way to extract surfaces via a group label or similar during post processing?

For larger sims i'm having to do things similar to the below, which gets quite tedious.

--surface-list="0,5;3,5;6,5;9,5;12,5;15,5;18,5;21,5;24,5;81,5;84,5;87,5;90,5;93,5;96,5;99,5;102,5;105,5;108,5;111,5;114,5 ;117,5;120,5;123,5;126,5;129,5;132,5;29,4;32,4;35,4;38,4;41,4;44,4;47,4;50,4;53,4;56,4;59,4;62,4;65,4;68,4;71,4;74,4;77,4; 80,4;137,4;140,4;143,4;146,4;149,4;152,4;155,4;158,4;161,4"

If there was some way to specify a group name rather than each surface, similar to --compute-loads-on-group, it would help a lot. I had a look at the post processing source code, but couldn't figure out a simple way to implement it.

HI Flynn,

There is currently no way to do this but it's on the radar for a fix soon.

In the meantime, I have a script for generating those long list of surfaces, if that would help, but I suspect you already have one.

No worries, thanks Nick.

Could I please get a copy of that script? I haven't had to make nice figures with my new mesh yet, so that will help.

I'll email if that's ok.