How to find gradient of a variable in 3D mapped finite element domain

Click For Summary
To find the gradient of a field variable in a 3D mapped finite element mesh, users suggest implementing a numerical differentiation approach within custom C code. The discussion highlights the importance of the specific finite element type, with a focus on mapped 3D hexahedral elements. Participants note that while they have experience with similar calculations in other programming environments like Matlab, the principles can be adapted to C. Effective methods may involve using finite difference techniques or shape function derivatives. Overall, the conversation emphasizes the need for tailored coding solutions to achieve accurate gradient calculations in finite element analysis.
Stacky
Messages
8
Reaction score
0
Hello,
I know the value of a field variable in a 3d mapped finite element mesh. Can anyone suggest an effective method/methods to find its gradient throughout the mesh.
 
Engineering news on Phys.org
We're going to need more information than that mate. What program are you using etc.
 
Yeah, I am not using any readymade sofware, I am writing a code in c language. Calculating gradient of a variable is a part of solving a differential equation through finite element. I am using mapped 3d hexahedral finite element. I am just enquiring an effective approach/method to calculate the gradient of a variable.
 
Ah that makes it easier. I've done it before, but in Matlab. Was a long time ago though. Let me refresh my memory.
 
Had my central air system checked when it sortta wasn't working. I guess I hadn't replaced the filter. Guy suggested I might want to get a UV filter accessory. He said it would "kill bugs and particulates". I know UV can kill the former, not sure how he thinks it's gonna murder the latter. Now I'm finding out there's more than one type of UV filter: one for the air flow and one for the coil. He was suggesting we might get one for the air flow, but now we'll have to change the bulb...

Similar threads

  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
10K
  • · Replies 5 ·
Replies
5
Views
16K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
6K