boundary integral

More
5 years 8 months ago #1507 by noname
boundary integral was created by noname
Hello everyone,

I have done some NS analysis and now want to do some post-processing using my results, I want to calculate my lift and drag over a certain part of the boundary (i.e its a surface integral). I have my functional defined and I use following line to calculate the drag
Code:
c_d = Integrate(cf=Drag(u_h,p0), mesh=mesh, VOL_or_BND=BND, definedon=mesh.Boundaries("cyl"), order=1)

but i get the error

netgen.libngpy._meshing.NgException: GridFunctionCoefficientFunction: SIMD: don't know how I shall evaluate


Anyone knows what this is?

Thanks in advance.
More
5 years 8 months ago #1509 by christopher
Replied by christopher on topic boundary integral
My guess is, that you need to use the trace operator for the HDiv function if you want to evaluate on the boundary, so do u_h.Trace(), but if you provide an example it would be easier.
Best Christopher
Time to create page: 0.104 seconds