[Nek5000-users] Output files reading by python

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Fri Mar 16 05:07:00 CDT 2018


Hi Sijo,


So you can use,

rea file :

param(66)=66

param(67)=4


usr file:

load_fld(filename)

call outpost(...


Arnold


Le 16/03/2018 à 10:46, nek5000-users at lists.mcs.anl.gov a écrit :
> Thank you very much..
> I will give a try.
>
> Regards
>
> Sijo
>
> ----- Mail original -----
> De: "nek5000-users" <nek5000-users at lists.mcs.anl.gov>
> À: "nek5000-users" <nek5000-users at lists.mcs.anl.gov>
> Envoyé: Vendredi 16 Mars 2018 10:42:20
> Objet: Re: [Nek5000-users] Output files reading by python
>
> you start your simulation by loading an fld file, and then you write it
> out directly as f file. This can be done by changing some of the
> parameters, see the documentation.
>
>
> On 2018-03-16 10:40, nek5000-users at lists.mcs.anl.gov wrote:
>> sorry for silly questions..I am sorry I didn't get you
>>
>> load as fld?
>> where?
>>
>> thanks
>> silo
>>
>> ----- Mail original -----
>> De: "nek5000-users" <nek5000-users at lists.mcs.anl.gov>
>> À: "nek5000-users" <nek5000-users at lists.mcs.anl.gov>
>> Envoyé: Vendredi 16 Mars 2018 10:37:59
>> Objet: Re: [Nek5000-users] Output files reading by python
>>
>> load as fld, save as f*
>>
>> On 2018-03-16 10:36, nek5000-users at lists.mcs.anl.gov wrote:
>>> I am sorry . I don't have much experience in that.
>>>     Could you please tell me how can I convert?
>>>
>>> Thanks
>>>
>>> ----- Mail original -----
>>> De: "nek5000-users" <nek5000-users at lists.mcs.anl.gov>
>>> À: "nek5000-users" <nek5000-users at lists.mcs.anl.gov>
>>> Envoyé: Vendredi 16 Mars 2018 10:33:00
>>> Objet: Re: [Nek5000-users] Output files reading by python
>>>
>>> I recommend to convert to f* format.
>>>
>>>
>>> On 2018-03-16 10:29, nek5000-users at lists.mcs.anl.gov wrote:
>>>> Hi Arnold,
>>>>
>>>> I was trying to read .fld format.
>>>> Is there any scripts I can read this?
>>>>
>>>>
>>>> thank you
>>>> sijo
>>>>
>>>> ------------------------------------------------------------------------
>>>> *De: *"nek5000-users" <nek5000-users at lists.mcs.anl.gov>
>>>> *À: *"nek5000-users" <nek5000-users at lists.mcs.anl.gov>
>>>> *Envoyé: *Vendredi 16 Mars 2018 09:47:46
>>>> *Objet: *Re: [Nek5000-users] Output files reading by python
>>>>
>>>> Hi Sijo, what format are you trying to read?
>>>> The files created by Nicolo (using python) are ONLY for *0.f0* files.
>>>>
>>>> Best regards,
>>>>
>>>> AW
>>>>
>>>> Le 15/03/2018 à 23:50, nek5000-users at lists.mcs.anl.gov a écrit :
>>>>
>>>>        Yes in fact I was using these codes. It was working for me with some cases and not with the file which I had attached. The header itself looks bit different. Could you please have look into that ?
>>>>
>>>>        Thank you
>>>>
>>>>        ----- Mail original -----
>>>>        De: "nek5000-users"<nek5000-users at lists.mcs.anl.gov>
>>>>        À: "nek5000-users"<nek5000-users at lists.mcs.anl.gov>
>>>>        Envoyé: Jeudi 15 Mars 2018 23:43:46
>>>>        Objet: Re: [Nek5000-users] Output files reading by python
>>>>
>>>>        Hi,
>>>>        you can check the python library by Jacopo and Nicolo:
>>>>
>>>>        https://github.com/jcanton/pymech
>>>>
>>>>        There are also matlab routines around. Perhpas Adam can send you a link
>>>>        to these.
>>>>
>>>>        Philipp
>>>>
>>>>        On 2018-03-15 23:42,nek5000-users at lists.mcs.anl.gov  wrote:
>>>>
>>>>            HI Neks,
>>>>
>>>>            I was trying to read the output files of NEK5000 using some python files
>>>>            which are available in internet. But when I tried an old which is
>>>>            attached in this email, it throws some error. But the same code was
>>>>            working for other files. The attached file looks also bit different from
>>>>            other files. I assume that the standard of construction for this file is
>>>>            quite different from others. Could you please help me, to find a way to
>>>>            read the NEK5000 output files by using python scripts? Or anyway to make
>>>>            the standard output files?
>>>>
>>>>            Thanks
>>>>
>>>>            Sijo
>>>>
>>>>
>>>>            _______________________________________________
>>>>            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
>>>>
>>>>
>>>> -- 
>>>> *Arnold Wakim*
>>>> Ph.D. Student
>>>> Département Aérodynamique, Aéroélasticité, Acoustique
>>>> INST
>>>> Tél: +33 1 46 23 51 83
>>>>
>>>>
>>>> ONERA - The French Aerospace Lab - Centre de Meudon
>>>> 8, rue des Vertugadins - 92190 MEUDON
>>>>
>>>> Nous suivre sur : www.onera.fr <http://www.onera.fr> | Twitter
>>>> <http://www.twitter.com/@onera_fr> | LinkedIn
>>>> <http://www.linkedin.com/company/onera> | Facebook
>>>> <http://www.facebook.fr/thefrenchaerospacelab>
>>>>
>>>>
>>>> Avertissement/disclaimer http://www.onera.fr/onera-en/emails-terms
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>> _______________________________________________
>>> 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
>>
> _______________________________________________
> 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
>

-- 
*Arnold Wakim*
Ph.D. Student
Département Aérodynamique, Aéroélasticité, Acoustique
INST
Tél: +33 1 46 23 51 83


ONERA - The French Aerospace Lab - Centre de Meudon
8, rue des Vertugadins - 92190 MEUDON

Nous suivre sur : www.onera.fr <http://www.onera.fr> | Twitter 
<http://www.twitter.com/@onera_fr> | LinkedIn 
<http://www.linkedin.com/company/onera> | Facebook 
<http://www.facebook.fr/thefrenchaerospacelab>


Avertissement/disclaimer http://www.onera.fr/onera-en/emails-terms

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20180316/6819a836/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dcjjkiamjbdeegpo.gif
Type: image/gif
Size: 1041 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20180316/6819a836/attachment-0001.gif>


More information about the Nek5000-users mailing list