[Getdp] Problems displaying E-field module in 3D

Christophe Geuzaine geuzaine at acm.caltech.edu
Fri May 23 18:36:18 CEST 2003


Roberto Olmi wrote:
> Hello everybody.
> 
> In a 3D electrostatic problem, I've added a post-processing option to
> EleSta_v.pro, to display the electric field module. The command is:
> 
> { Name emod;
>   Value {
>     Local {[Sqrt[{d v}*{d v}]]; In DomainCC_Ele; Jacobian Vol;}
>         }
> }
> 
> While it works fine with OnPlane:
> 
> Print[emod, OnPlane { {0.,0.,1.e-3} {5.e-3,0.,1.e-3} {0.,5.e-3,1.e-3} }
> {100,100},File "condens_emod.pos" ];
> 
> when I try to display the electric field amplitude in the whole model:
> 
> Print[emod, OnElementsOf DomainCC_Ele, File "condens_emod.pos" ];
> 
> I get the proper field colored-scale on the left, but no colors at all
> (i.e. no field map) in the figure.
> 
> Can anyone help me?
> 

Are you trying to visualize iso-curves? If you're discretizing 'v' with
first order elements, 'emod' will be constant per element, and thus no
iso-curves will be drawn... Try with 'View->options->Range->Intervals
type' set to 'Continuous map' or 'Filled iso-values' instead of
'Iso-values'.

Christophe

-- 
Christophe Geuzaine

Tel: (626) 395-4552    http://www.geuz.org
Fax: (626) 578-0124    mailto:geuzaine at acm.caltech.edu