Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

question on linearize an upwinding term

More
3 years 1 week ago #3682 by Guosheng Fu
Hello,

I have a simple question on linearizing the following upwinding DG flux term:
Code:
IfPos(u*n, 1, -1)*u*n* u *v *dx(element_boundary=True)
The AssembleLinearization can automatically compute the Jacobian, but I would like to explicitly write it out for a comparison.

I am having a trouble dealing with the absolute value in the linearization procedure as my hand calculation skills currently does not support linearization for absolute values (I can only work with smooth functions)... and a few google search didn't help me either.
Thanks for your help!

Best,
Guosheng
Time to create page: 0.145 seconds