[Nek5000-users] Mesh with two blocks

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Fri Jun 1 13:53:03 CDT 2018


Thank you for your replies.

I am actually interested in generating a mesh for a conjugate gradient solve. In the conj_ht example, the solid block is differentiated from the liquid block by testing the element index, i.e., ieg > nelgt. Assuming that I generate a mesh with two blocks that represent the fluid and solid regions, respectively, how do I access these blocks in the usr file?

Marco

> On Jun 1, 2018, at 2:35 PM, nek5000-users at lists.mcs.anl.gov wrote:
> 
> Why don't you use the sidesets to set your BC?
> 
> -----Original message-----
>> From:nek5000-users at lists.mcs.anl.gov <nek5000-users at lists.mcs.anl.gov>
>> Sent: Friday 1st June 2018 20:06
>> To: nek5000-users at lists.mcs.anl.gov
>> Subject: [Nek5000-users] Mesh with two blocks
>> 
>> Hi,
>> 
>> I would like to get some insights on how Nek5000 deals with meshes that contains more than one block. I generated a 2-D mesh with Cubit and was able to convert it to a re2 format with exo2nek but I do not know how to differentiate each block in the usr file to set boundary conditions for instance.
>> 
>> I went through the examples and did not find anything relevant to my question. Does anybody have experience with multi-block mesh? What is the proper approach when dealing with multi-block meshes in Nek5000?
>> 
>> Thanks,
>> 
>> Marco
>> _______________________________________________
>> Nek5000-users mailing list
>> Nek5000-users at lists.mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>> 
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
> 



More information about the Nek5000-users mailing list