[deal.II] Using DataOut when dim != spacedim

2020-09-21 Thread Malhar T.
Hello All,
I hope you are doing well !

I am working on a surface patch in 3D (dim=2 & spacedim=3 and developed 
using ChartManifold<2,3> by following code similar to step-53 
) and I would 
like to output the results into a vtk file. I am mostly following 
tutorials, as I am not really great with C++. So, initially I used the 
class DataOut and tried to specify the geometry using attach_dof_handler. 

This is how its defined,

Triangulation<2, 3> triangulation;
DoFHandler<2, 3>dof_handler;

And output_results function was written as

{
DataOut data_out;
data_out.attach_dof_handler(dof_handler);
}

But I got the error


error: cannot convert ‘const dealii::DoFHandler<2, 3>’ to ‘const 
dealii::DoFHandler<2, 2>&’
note:   initializing argument 1 of ‘void 
dealii::DataOut_DoFData::attach_dof_handler(const DoFHandlerType&) [with 
DoFHandlerType = dealii::DoFHandler<2, 2>; int patch_dim = 2; int 
patch_space_dim = 2]’

I tried searching in the forum and came to know about DataOutFaces (through 
this post ), 
and I also looked at the step-61 

 
tutorial on its implementation, but I got the same error again. I have a 
feeling that I am not understanding something very trivial, thus, any 
pointers would be really helpful. 

Thank You. 


I tried searching in the forum and came to know about DataOutFaces (through 
this post) , 
and I also looked at the step-61 

 
tutorial on its implementation, but I got the same error again. I have a 
feeling that I am not understanding something very trivial, any pointers 
would be helpful. Thank You. 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/7e032f3f-2957-4235-9f32-df8858a2c575n%40googlegroups.com.


[deal.II] New steps 19 and 68

2020-09-21 Thread Wolfgang Bangerth



All,
we don't publicize these things well enough, so let me mention that there are 
two new tutorial programs:

* https://dealii.org/developer/doxygen/deal.II/step_19.html
* https://dealii.org/developer/doxygen/deal.II/step_68.html
Both of these show how one can couple the PDEs we typically solve with the 
finite element method with "particles" that are moving around in the domain. 
They augment the earlier step-70, which also uses particles.


One of the things that continues to make me proud is how many people 
contribute to deal.II these days. The two steps mentioned above have 3 and 4 
listed authors, respectively, of which half are not Principal Developers of 
deal.II (but for whom we nevertheless hope that they will continue to 
contribute lots of functionality in the future!). deal.II has really become a 
*community project*, and I think that's great. It's worth taking the time to 
list everyone who has contributed to these two tutorials

  For step-19:
 Wolfgang Bangerth
 Rene Gassmoeller
 Peter Munch
  For step-68:
 Bruno Blais
 Toni El Geitani Nehme
 Rene Gassmoeller
 Peter Munch

The common denominator of these tutorials is Rene Gassmoeller, who several 
years ago implemented particles first in ASPECT and then ported them in more 
general form into deal.II -- both a humongous effort! We continue to reap the 
benefits of this contribution and it illustrates something we've seen in other 
contexts as well: Functionality is often used in ways that the original author 
had no intention to support, but where it still fits perfectly. Thanks, Rene, 
for providing particles in deal.II!


Best
 Wolfgang

--

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/fc0e9bb6-f14e-ec8e-a49f-e017f0e8cb89%40colostate.edu.


[deal.II] Multi-physics implementation

2020-09-21 Thread Ray Mclaren
Hi,
I have a question regrading multi-physics problem implementation.

I am developing a program that will solve the steady-state thermal 
conduction (laplace) first and then the allen-Cahn equation.

both of the problems are solved on the same mesh, however due to the nature 
of my specific implementation they solved separately. To solve the 
allen-Cahn equation, I need to evaluate temperature dependent functions at 
each node in the domain.

Hence, they only share the same triangulation, but everything else is 
separate.

My question is, how to use the solution vector from the thermal conduction 
(the temperature) in the assembly of the allen-cahn equation ?

 how to access the temperature at these nodes and make sure that they are 
synchronized ? 

thank you

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/36906f75-13af-49e6-b5e4-c8ccdf2e26ebn%40googlegroups.com.


Re: [deal.II] step-1 Error

2020-09-21 Thread Wolfgang Bangerth



Hi Luca,


Are you running the terminal, or the deal.II application?

When you run the deal.II application, you are dropped into a terminal (with 
instructions) to run deal.II examples. Including how to set up your bashrc (or 
zshrc) to point to the deal.II

Installation/the module command.


He's running in the terminal that shows all of the instructions. The problem 
is not that 'module load dealii' doesn't know how to load deal.II, but that 
the 'module' command doesn't seem to exist on his system. That's what the 
error message says:

  bash: module: command not found

I can't seem to find any information (but also don't know where to look) on 
how one can install the 'module' command or, more generally, which general 
package 'module' would actually come from.


Any ideas?

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/98392d90-dbd8-8213-26f8-6a0c3c844623%40colostate.edu.