|
[Sponsors] |
Calculation of Gradient of a Tensor (Stress) in Cylindrical Coordinates in openFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 19, 2018, 05:08 |
Calculation of Gradient of a Tensor (Stress) in Cylindrical Coordinates in openFoam
|
#1 |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Hi all,
I need to calculate d/dr(tau_rt) , d/dt(tau_tt) where tau is stress tensor that is a volSymmTensorField and r , t are polar coordinates components. I have two problem: 1- Foam doesn't have cylindrical coordinates 2- the function "fvc::grad(X)" can't get a volSymmTensorField as input. Could you please help me if you have any similar experience? |
|
October 27, 2018, 05:01 |
|
#2 | |
Member
Emad Tandis
Join Date: Sep 2010
Posts: 77
Rep Power: 16 |
Quote:
I have a same problem. Did you find any method to calculate fvc::grad(tensorField)? |
||
October 27, 2018, 05:22 |
|
#3 | |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Quote:
Unfortunately I didn't find any solution, however I defined some volScalarField for every component of stress tensor separately and then calculated the derivative of them. |
||
October 27, 2018, 09:20 |
|
#4 |
Member
Emad Tandis
Join Date: Sep 2010
Posts: 77
Rep Power: 16 |
Thanks Ali
I did ignore this term in my equation and in this way I solved the problem! But it shouldn't be that difficult to implement this function for tensorFields and I wondered when couldn't find it in OF. |
|
February 7, 2021, 15:48 |
|
#5 | |
New Member
roozbeh
Join Date: Oct 2011
Posts: 8
Rep Power: 15 |
Quote:
how did you do that. Could you share your procedure. Also, what did you do for boundaries? |
||
February 7, 2021, 16:11 |
|
#6 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
Maybe these help? (haven't used them):
https://github.com/OpenFOAM/OpenFOAM...ld/cylindrical https://develop.openfoam.com/Develop...temTransform.H
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
February 7, 2021, 17:59 |
|
#7 | |
New Member
roozbeh
Join Date: Oct 2011
Posts: 8
Rep Power: 15 |
Quote:
div(grad(T)&&grad(T)), and T is a second-order tensor. |
||
Tags |
cylindrical, gradient, openfoam, stress, volsymmtensorfield |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 15:24 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 04:18 |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 14:36 |
SIMPLE algorithm in 3D cylindrical coordinates | zouchu | Main CFD Forum | 1 | January 20, 2014 18:02 |