Re: [deal.II] visualization with Matlab

2018-03-12 Thread Wolfgang Bangerth

On 03/12/2018 05:15 AM, Bryukhanov Ilya wrote:


What is the easiest way to export the output field from dealii and plot it in 
Matlab?


Why would you want to do that? Unless you have a structured mesh, the data 
associated with a finite element field is a pretty complicated thing that will 
be difficult to import into Matlab. There are also much better visualization 
programs than Matlab.


But maybe you can explain in more detail what you want to do and why?

Best
 W.

--

Wolfgang Bangerth  email: bange...@colostate.edu
   www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[deal.II] visualization with Matlab

2018-03-12 Thread Bryukhanov Ilya
Hi,

What is the easiest way to export the output field from dealii and plot it 
in Matlab?

Thank you in advance for your help!

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [deal.II] visualization with Matlab

2018-03-12 Thread Bryukhanov Ilya
Yeah, you're right that for analysis of FEM data it's more profitable to 
use for example Paraview.
However, I want to use Matlab not for the analysis of data but for the 
figures. I've got some points and lines 
that I want to add on output figures. I can do these thing in Matlab 
easily, however, I need to somehow plot the 
original solution. I'm just interesting if there is a simple way to do 
this.  

On Monday, March 12, 2018 at 2:34:15 PM UTC+3, Wolfgang Bangerth wrote:
>
> On 03/12/2018 05:15 AM, Bryukhanov Ilya wrote: 
> > 
> > What is the easiest way to export the output field from dealii and plot 
> it in 
> > Matlab? 
>
> Why would you want to do that? Unless you have a structured mesh, the data 
> associated with a finite element field is a pretty complicated thing that 
> will 
> be difficult to import into Matlab. There are also much better 
> visualization 
> programs than Matlab. 
>
> But maybe you can explain in more detail what you want to do and why? 
>
> Best 
>   W. 
>
> -- 
>  
> Wolfgang Bangerth  email: bang...@colostate.edu 
>  
> www: http://www.math.colostate.edu/~bangerth/ 
>
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [deal.II] dealii 8.5.1 installation issue (spack, docker, debian)

2018-03-12 Thread Timo Heister
> g++: internal compiler error: Killed

are you running out of memory by any chance? Use a smaller number for "-j".

On Sun, Mar 11, 2018 at 9:27 AM, Marquito Forrest
 wrote:
> Hallo dear reader of my question,
>
> I am trying to help my girlfriend (who studies mechanical engineering) to
> make dealii available on her Macbook, since she wants to work with this
> library (project / thesis work).
>
> Originally I tried to install dealii via spack but I failed various times.
> Hence I decided to use a linux system as the basis, since this seems to be
> much better supported (according to spack documentation, and github issues
> of both dealii and spackpm).
> Unfortunately there is no up-to-date docker image. In case I shall succeed I
> am very willing to share my success in the form of such an image. But I am
> still running into problems with compiling dealii, having had success with
> the dependencies.
>
> I am incapable of detecting any potential issue / cause of the problem from
> the spack-build.out. This file is attached to this question as the third
> file.
> The first and second file are two Dockerfiles and hence define exactly on
> what system I tried to install dealii.
>
> In summary the situation is:
> - Debian testing image (to get recent gcc)
> - Miniconda Python 3.6 (my own Dockerfile, cf. file 1)
> - Latest spack from github (another Dockerfile derived from file 1, cf. file
> 2)
> - Then in a bash I ran "spack install dealii -trilinos -oce ^cmake@3.9.4"
>  Since PETSc failed to build some FORTRAN specific stuff (f90-mod) and I
> assumed we don't need any FORTRAN bindings
>  I ran "spack edit petsc" and set "--with-fc=0", which led to a
> successful compilation of PETSc.
>  At last the dealii compilation failed but I was not able to deduce any
> logical steps to take from the error messages.
>
> If anyone can help me and my girlfriend, I will try my best to make this
> available to other potential users who are not able to get dealii running. I
> think a working docker-image of a recent version will be very helpful for
> many users.
>
> Best regards,
> Marquito
>
> --
> The deal.II project is located at 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.dealii.org_=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw=f-TM9W3TMFMvyfA8yPbPFmwkCovncx08P0sOpP_xQjs=aw8_eC5lHsFLHe3NtmVZPtdUiuFjA3AC06cpyWkCP6M=
> For mailing list/forum options, see
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_forum_dealii-3Fhl-3Den=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw=f-TM9W3TMFMvyfA8yPbPFmwkCovncx08P0sOpP_xQjs=ntGS9fy--G2uPpZ-CatjYf15jpdZxmgFVZhIyoj_jps=
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dealii+unsubscr...@googlegroups.com.
> For more options, visit 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw=f-TM9W3TMFMvyfA8yPbPFmwkCovncx08P0sOpP_xQjs=WrmWunU4vDamo-21zJ6nSd9Vc2pIEKGUZtU6H5sCeYU=.



-- 
Timo Heister
http://www.math.clemson.edu/~heister/

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [deal.II] visualization with Matlab

2018-03-12 Thread Wolfgang Bangerth

On 03/12/2018 09:41 AM, Bryukhanov Ilya wrote:
Yeah, you're right that for analysis of FEM data it's more profitable to use 
for example Paraview.
However, I want to use Matlab not for the analysis of data but for the 
figures. I've got some points and lines
that I want to add on output figures. I can do these thing in Matlab easily, 
however, I need to somehow plot the

original solution. I'm just interesting if there is a simple way to do this.


I don't know of one. All of the visualization formats are complicated, so 
unless you can find a VTK or GMV or OpenDX reader for Matlab, it's going to be 
difficult. As I mentioned, the issue is made complicated by the fact that a 
mesh isn't just field data on a regular xyz grid, but also where the vertices 
are, how vertices connect to each other in cells, etc. Fields can also be 
discontinuous, in which case you have multiple values at the same point. All 
of this makes it difficult to define an "easy file format" that is then easy 
to read from Matlab.


If all you want is add some points and lines to a picture, then I'd say you'd 
be better off creating a VTK file that contains these points and lines, and 
make Paraview of Visit plot both the original solution file and your 
hand-written one.


Best
 W.

--

Wolfgang Bangerth  email: bange...@colostate.edu
   www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.