Re: [Paraview] FEM solver interfaced with Paraview

2018-02-05 Thread Cory Quammen
[snip]

> Some of the following questions have probably ever been asked, but:
>
> What is the best format to create a result file readable by Paraview,
> especially for huge file? after some readings, VTK XML format seems to be
> the most interesting (parallelization capabilities) compared to the legacy
> VTK one, am I right or do ou have any other suggestion?

You are right, the VTK XML file formats are quite capable; I would
avoid the legacy formats.

> I’m still trying to figure out if xdmf and/or hdf5 format are relevant, and
> if they are relevant for my application: any feedback on it?
>
Personally, having worked with writing to both types of data sets, I
would choose VTK XML over XDMF.
>
> The workflow I’m imaginating sounds like:
>
>
> Intermediate calculations
> ^
> |
>
> Raw data (ascii file) from my solver --> intermediate file in xdmf or hdf5
> format --> Paraview input file (depending on the reader)

If you choose to ultimately write out to VTK XML files, I would skip
the intermediate file writing step.

HTH,
Cory

>
> Any feedback, advice and suggestion will be highly appreciated
>
> (I’m quite new with Paraview)
>
>
> Regards
>
>
> Paul
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://paraview.org/mailman/listinfo/paraview
>



-- 
Cory Quammen
Staff R Engineer
Kitware, Inc.
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] FEM solver interfaced with Paraview

2018-02-05 Thread Fabian Wein

 of the following questions have probably ever been asked, but:


 1. What is the best format to create a result file readable by Paraview, 
especially for huge file? after some readings, VTK XML format seems to be the 
most interesting (parallelization capabilities) compared to the legacy VTK one, 
am I right or do ou have any other suggestion?
 2. I’m still trying to figure out if xdmf and/or hdf5 format are relevant, and 
if they are relevant for my application: any feedback on it?

The workflow I’m imaginating sounds like:

    
  Intermediate calculations

Raw data (ascii file) from my solver --> intermediate file in xdmf or hdf5 format 
--> Paraview input file (depending on the reader)


To my understanding there is no xdmf OR hdf5: 
http://xdmf.org/index.php/Main_Page

We also have an own FEM Code. We export directly hdf5 files (w/o xdmf) which we 
read with an own paraview reader plugin.

Now we would probably try xdmf and see if we can circumvent having an own 
reader plugin.

hdf5 has libs for all languages (C/C++, Python, Matlab) and e.g. the handling 
in Python is quite convenient. Almost a one-liner.

The hdf5 C/C++ lib for writing the data is not the best software I know but it 
is ok.

I would not export to ascii first but directly use the hdf5 libs.

Fabian
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://paraview.org/mailman/listinfo/paraview


[Paraview] FEM solver interfaced with Paraview

2018-02-05 Thread paul . carrico
Dear all, 

A while ago, I've initiated an internal project to export results from
my Finite Element solver (mechanical and thermal FEA's) and to visualize
it into Paraview
(https://www.paraview.org/pipermail/paraview/2017-November/041481.html);
but I was quite overloaded and this topic has been postponed. 

Currently the format of my the solver is not a part of the list
(https://www.paraview.org/Wiki/ParaView/Users_Guide/List_of_readers),
and I'm thinking about the strategy to get the results, to perform
additional calculations, and finally to post-process it  into Paraview. 

_Nota_: I'm using 2D and 3D meshes, structures and unstructured ones,
with different element orders, and different type of results (nodal
values and/or cell ones). 

Some of the following questions have probably ever been asked, but: 

* What is the best format to create a result file readable by
Paraview, especially for huge file? after some readings, VTK XML format
seems to be the most interesting (parallelization capabilities) compared
to the legacy VTK one, am I right or do ou have any other suggestion?
* I'm still trying to figure out if xdmf and/or hdf5 format are
relevant, and if they are relevant for my application: any feedback on
it?

The workflow I'm imaginating sounds like: 


Intermediate calculations 


 ^ 


  | 

Raw data (ascii file) from my solver --> intermediate file in xdmf or
hdf5 format --> Paraview input file (depending on the reader) 

Any feedback, advice and suggestion will be highly appreciated 

(I'm quite new with Paraview) 

Regards 

Paul___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] FEM

2017-11-29 Thread Utkarsh Ayachit
Paul,

Welcome to the community!

If your data is not in one of the large number of formats ParaView
already supports, using Python to read an map to VTK data model sounds
like a reasonable strategy. The "Programmable Source" would be the way
to go. The ParaView Guide has examples that should help you get
started.

Utkarsh

On Tue, Nov 28, 2017 at 4:25 PM,   wrote:
> Dear All
>
> I'm new in Paraview community.
>
> For a while, I'm thinking in developping my own template in order to
> post-process results in Paraview, from my finite element solvers (mechanical
> and thermal ones).
>
> From an ascii file containing all the data (mesh informations and
> nodal/element results), I'm thinking in writing (python) routines in VTK
> format I guess.
>
> One can find a lot of information's on internet, but are ther some specific
> docs/tools/class and so on on it?
>
> Thanks for any feedback
>
> Paul
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] FEM

2017-11-28 Thread paul . carrico
Dear All 

I'm new in Paraview community. 

For a while, I'm thinking in developping my own template in order to
post-process results in Paraview, from my finite element solvers
(mechanical and thermal ones). 

>From an ascii file containing all the data (mesh informations and
nodal/element results), I'm thinking in writing (python) routines in VTK
format I guess. 

One can find a lot of information's on internet, but are ther some
specific docs/tools/class and so on on it? 

Thanks for any feedback 

Paul___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview