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

AI Thread 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.
 
I need some assistance with calculating hp requirements for moving a load. - The 4000lb load is resting on ball bearing rails so friction is effectively zero and will be covered by my added power contingencies. Load: 4000lbs Distance to travel: 10 meters. Time to Travel: 7.5 seconds Need to accelerate the load from a stop to a nominal speed then decelerate coming to a stop. My power delivery method will be a gearmotor driving a gear rack. - I suspect the pinion gear to be about 3-4in in...
How did you find PF?: Via Google search Hi, I have a vessel I 3D printed to investigate single bubble rise. The vessel has a 4 mm gap separated by acrylic panels. This is essentially my viewing chamber where I can record the bubble motion. The vessel is open to atmosphere. The bubble generation mechanism is composed of a syringe pump and glass capillary tube (Internal Diameter of 0.45 mm). I connect a 1/4” air line hose from the syringe to the capillary The bubble is formed at the tip...
Thread 'Calculate minimum RPM to self-balance a CMG on two legs'
Here is a photo of a rough drawing of my apparatus that I have built many times and works. I would like to have a formula to give me the RPM necessary for the gyroscope to balance itself on the two legs (screws). I asked Claude to give me a formula and it gave me the following: Let me calculate the required RPM foreffective stabilization. I'll use the principles of gyroscopicprecession and the moment of inertia. First, let's calculate the keyparameters: 1. Moment of inertia of...

Similar threads

Back
Top