On May 31, 2018, at 8:56 AM, nek5000-users@lists.mcs.anl.gov wrote:
_______________________________________________Thank you .
So here the 1,2,3,4 refers to the Side set numbers that we give as B.C in ICEM?
Thank you very much
Sijo
De: "nek5000-users" <nek5000-users@lists.mcs.anl.gov>
À: "nek5000-users" <nek5000-users@lists.mcs.anl.gov>
Envoyé: Jeudi 31 Mai 2018 14:52:40
Objet: Re: [Nek5000-users] How to give NEK5000 boundary conditions to exodus mesh file
I specify the boundary conditions in the usrdat subroutine using the following piece of code
do i=1,neltdo j=1,2*ndimif(bc(5,j,i,1).eq.1) thencbc(j,i,1)='mv 'elseif(bc(5,j,i,1).eq.2) thencbc(j,i,1)='W 'elseif(bc(5,j,i,1).eq.3) thencbc(j,i,1)='W 'elseif(bc(5,j,i,1).eq.4) thencbc(j,i,1)='W 'elsecbc(j,i,1)='E 'endifenddoenddo
Marco
On May 31, 2018, at 8:50 AM, nek5000-users@lists.mcs.anl.gov wrote:
_______________________________________________Hi Neks,
I did the conversion of a mesh from ICEM to exodus file then to re2 file.
But I am bit confused on the boundary conditions. Because from ICEM before I export to exodus I give the B.Cs as side set numbers and after the conversion to re2 I wont be able to put the boundary conditions in NEK format.
So could you please tell me how you put the BC in NEK5000 format to a mesh file with exodus format.
Thank you
Nek5000-users mailing list
Nek5000-users@lists.mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
_______________________________________________
Nek5000-users mailing list
Nek5000-users@lists.mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
Nek5000-users mailing list
Nek5000-users@lists.mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users