[Nek5000-users] mesh problems (i think)

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Sun Feb 2 11:09:38 CST 2014


Hi Jacopo,

Did you resolve your translation question?

Nek5000 certainly supports the type of mesh you
are describing.

Paul


On Sat, 1 Feb 2014, nek5000-users at lists.mcs.anl.gov wrote:

> So, I solved one of the two problems: I was really stupidly mistaking faces 
> and edges...
>
> The other problem, with boundary conditions, still remains: if I create a 
> pipe with 0 < z < 1 and assign boundary conditions vz = 1 at z = 0 it works 
> fine.
> If I create the same pipe, simply translated to have -1 < z < 0 and assign 
> boundary conditions vz = 1 at z = -1 it does not work...
> This is not a problem for me, I simply translate my geometry, but could this 
> be a bug?
>
>
> Best regards,
> Jacopo
>
>
>
> On 01/02/2014 11:32, nek5000-users at lists.mcs.anl.gov wrote:
>> Hi Josh,
>> 
>> Thank you for the suggestion.
>> I was using the format indicated to be used for the reatore2 tool, as
>> sugegsted on the webpages for curved elements and boundary conditions.
>> Now I have changed it to be exactly the same of that produced by the
>> n2to3 tool which I have used to create base3.rea (which is different)
>> and made a step forward: now nek reads some more informations from the
>> .rea file and gives me the following error when I try to run the case:
>> 
>> WARNING1 Element mesh mismatch at:
>> i,j,k,ie:    2    2    6    integer
>> Near X =  float float float, d: float float float
>> 
>> for 6 differente integers (2, 5, 8, 11).
>> 
>> The subroutine that produces the error is 'vrdsmsh' but I do not
>> understand what the error means....
>> 
>> Best regards,
>> Jacopo
>> 
>> 
>> 
>> On 31/01/2014 20:10, nek5000-users at lists.mcs.anl.gov wrote:
>>> Hi Jacopo,
>>> 
>>> I'm not able to look at your files at this moment, but I do have a quick
>>> suggestion.  Nek is normally pretty flexible when it comes to the .rea
>>> formatting except for boundary conditions and curve sides.  I would
>>> suggest carefully studying the format of the base3.rea file and make
>>> sure the formatting you are using to create pipe.rea is the same.
>>> 
>>> - Josh
>>> 
>>> 
>>> On Fri, Jan 31, 2014 at 11:34 AM, <nek5000-users at lists.mcs.anl.gov
>>> <mailto:nek5000-users at lists.mcs.anl.gov>> wrote:
>>>
>>>     Dear Neks,
>>>     I am trying to set up a case from scratch.
>>>     The goal is to create a complex 3d cylindrical mesh, to start I am
>>>     trying to build a pipe.
>>>
>>>     1st attempt:
>>>     I created a simple 2d 'base.rea' file (by hand) and extruded it with
>>>     n2to3 to create 'base3.rea'. This case works in 3d, the outer
>>> edges are
>>>     curved and the boundary conditions are correct.
>>>
>>>     2nd attempt:
>>>     I wrote a piece of code to create a 3d 'pipe.rea'. I tried to
>>> reproduce
>>>     the case that I had done by hand but this time without success.
>>>     nek runs the case and produces the usual output without giving any
>>>     errors but...
>>>     Problems:
>>>        - the outer edges are not curved
>>>        - the boundary conditions are not imposed correctly
>>>
>>>     In both cases I used the same .usr and SIZE files.
>>>
>>>     It seemed to me that I had a problem with face numbering, so I tried
>>>     changing the number of the curved faces in the pipe.rea file. I tried
>>>     with all 6 numbers but still no curved faces.
>>>
>>>     I have attached both the 'base3.rea' (which works) and the 'pipe.rea'
>>>     (which doesn't). I also attached a picture of the output generated
>>> when
>>>     running the 'pipe.rea' case and the SIZE and .usr files.
>>>     All the attached files can be downloaded from my dropbox folder at
>>> this
>>>     link:
>>>     https://dl.dropboxusercontent.com/u/18689429/attachment.zip
>>> 
>>>
>>>     Can someone help me understand why 'pipe.rea' does not work?
>>>
>>>     Best regards,
>>>     Jacopo
>>>
>>>     _______________________________________________
>>>     Nek5000-users mailing list
>>>     Nek5000-users at lists.mcs.anl.gov
>>> <mailto:Nek5000-users at lists.mcs.anl.gov>
>>>     https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>>> 
>>> 
>>> 
>>> 
>>> --
>>> Josh Camp
>>> 
>>> "All that is necessary for the triumph of evil is that good men do
>>> nothing" -- Edmund Burke
>>> 
>>> 
>>> _______________________________________________
>>> 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
> _______________________________________________
> 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