|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
A. Min
Join Date: Mar 2015
Posts: 309
Rep Power: 13 ![]() |
Hi foamers
I want to calculate the value of the stress tensor in cylindrical coordinates on a boundary surface. I did it in 2 ways: 1. Calculation the stress tensor (tet3) values on the surface and transfer them to cylindrical coordinates HTML Code:
List<symmTensor> tet30 = tet3.boundaryField()[patchI]; List<symmTensor> tet3RT1 = Tau0; // Initialization tet3RT1[i].xx() = tet30[i].xx()*pow(CS,2) + tet30[i].yy()*pow(SIN,2) + 2 * tet30[i].xy()*CS*SIN; // TauS_rr tet3RT1[i].yy() = tet30[i].xx()*pow(SIN,2) + tet30[i].yy()*pow(CS,2) - 2 * tet30[i].xy()*CS*SIN; // TauS_tt tet3RT1[i].xy() = (tet30[i].yy()-tet30[i].xx() )*CS*SIN + tet30[i].xy() * ( pow(CS,2)-pow(SIN,2) ); HTML Code:
List<symmTensor> tet3RT2 = tet3RT.boundaryField()[patchI];
Do you have any idea? |
|
|
|
|
|
![]() |
| Tags |
| boundary cell, cylindrical coordinates, stress tensor |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| OpenFOAM error | Vinay Kumar V | Main CFD Forum | 1 | April 30, 2025 13:07 |
| UDF for Automatic Solution Initialization for previous case data file | gartz89 | Fluent UDF and Scheme Programming | 6 | March 30, 2020 08:38 |
| CFD analaysis of Pelton turbine | amodpanthee | CFX | 31 | April 19, 2018 19:02 |
| Cluster ID's not contiguous in compute-nodes domain. ??? | Shogan | FLUENT | 1 | May 28, 2014 16:03 |
| [snappyHexMesh] Layers don't fully surround surface | EVBUCF | OpenFOAM Meshing & Mesh Conversion | 14 | August 20, 2012 05:31 |