info
The forum is in read only mode.

2D CurlCurl

More
5 years 2 months ago #2370 by PKonig
2D CurlCurl was created by PKonig
Hello everybody,

I still try to use a error estimator as presented by Bürg for an hp-refinement method for a Maxwell problem.
Therefore, I need to compute the term
[tex]
×(μ1×uh)εω2uhL2(K)2
[/tex]
on every cell K. I tried to set a new HCurl gridfunction for the curl of u_h, but since curl(u_h) returns the scalar curl
[tex]
curl(u)=(u2x1u1x2)
[/tex]
this does not work (different dimensions).

Has anybody a suggestion how fix this issue?

Best regards,
Phil
More
5 years 2 months ago #2372 by mneunteufel
Replied by mneunteufel on topic 2D CurlCurl
Hi Phil,

you can set the curl, which is a scalar, into a L2 GridFunction. Then, you can use the gradient of this GridFunction to compute the curl going from scalar to vector to compute your norm.

Best,
Michael
Time to create page: 0.112 seconds