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

Click For Summary

Discussion Overview

The discussion revolves around finding the gradient of a field variable within a 3D mapped finite element mesh. The context includes programming in C language and solving differential equations using finite element methods, specifically with mapped 3D hexahedral elements.

Discussion Character

  • Technical explanation, Experimental/applied

Main Points Raised

  • One participant inquires about effective methods to calculate the gradient of a field variable in a 3D finite element mesh.
  • Another participant requests additional information regarding the software being used for clarity.
  • A participant clarifies that they are coding in C language and are not using any pre-existing software, indicating that the gradient calculation is part of solving a differential equation.
  • Another participant mentions having experience with a similar task in Matlab but indicates that it has been a long time since they last did it.

Areas of Agreement / Disagreement

The discussion does not present a consensus on specific methods for calculating the gradient, and multiple approaches may be considered as participants share their experiences.

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.
 

Similar threads

  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · 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
17K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
7K