Cannot export all sidesets

Topics related to importing and exporting file formats, etc.

Cannot export all sidesets

Postby hngnet » Sat Oct 07, 2017 3:26 pm

Dear all,

I have a simple journal file in which I have both surface and curve sidesets:

brick x 10 y 10 z 5
volume 1 scheme auto
mesh volume 1
save trelis "/home/hgharti/meshes/postearthquake/test.trelis" overwrite journal
set duplicate block elements off
block 1 add volume 1
sideset 1 add surface 1
sideset 2 add curve 4 wrt surface 1
save trelis "/home/hgharti/meshes/postearthquake/test.trelis" overwrite journal
set exodus netcdf4 off
set large exodus file on
export mesh "test.e" overwrite

But trelis cannot export sideset 2. Is there anything wrong with my journal file?

I would be grateful for your suggestion.

Thanks,
HNG
hngnet
 
Posts: 7
Joined: Fri Jan 27, 2017 12:06 pm

Re: Cannot export all sidesets

Postby csimsoft Moderator » Tue Oct 10, 2017 2:38 pm

I think you need to have a block that contains elements, where the sides of those elements could be edges on the curves you put into the sideset.

reset
brick x 1
mesh vol 1
block 1 volume 1
sideset 1 surface 1
sideset 2 curve 1
export mesh 'junk.g' #curve sideset (2) will NOT get exported

reset
brick x 1
mesh vol 1
block 1 volume 1
sideset 1 surface 1
block 2 surface 1 #sides of these elements can now be referenced in a sideset
block 2 element type quad
sideset 2 curve 1
export mesh 'junk2.g' #curve sideset should get exported
csimsoft
csimsoft Moderator
 
Posts: 249
Joined: Tue Feb 14, 2012 5:59 pm
Location: American Fork, UT

Re: Cannot export all sidesets

Postby hngnet » Wed Oct 11, 2017 6:48 am

Thanks a lot! That works perfectly.
hngnet
 
Posts: 7
Joined: Fri Jan 27, 2017 12:06 pm


Return to Importing/Exporting

Who is online

Users browsing this forum: No registered users and 1 guest

cron

Search / Mark

User Control Panel

Login

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 58 on Mon Jun 26, 2017 4:19 pm

Users browsing this forum: No registered users and 1 guest