|
[Sponsors] |
November 9, 2017, 17:57 |
fvDOM OpenFOAM wedge type patch
|
#1 |
Member
Jaydeep
Join Date: Jun 2015
Posts: 34
Rep Power: 10 |
Hi,
I am referencing to : FVDOM instability in wedge-type mesh I am attaching a test case. It has 2 concentric cylinders with diameters 22mm and 7.6 mm at temperatures 873.15K and 1673.15K respectively. Both have emissivities 0.7. Answer for this problem is, you will see a heat flux of 260.9kW/m2. Setup is assumed infinitely long. Openfoam predicts the heat flux by ~ 15% wrong. I looked up online to figure out the issues, and my guess is because of wedge patches there is some sort of flux leak (rays leaking) since the problem is solved as 3D instead of 2D. I tried to compile fvDOM with basically copy pasting 2D part into 3D -- to force openfoam to solve in 2D mode even in wedge type cases. (stupid idea) But that threw me a duplicate library/model error. Since I don't know how to create copy of fvDOM as myfvDOM to avoid hash table duplicacy, I gave up the effort. I also tried setting cyclic instead of wedge, but I get the same error. Would anyone recommend any ideas? Thanks! |
|
November 9, 2017, 22:39 |
A quick thought
|
#2 |
Member
Jaydeep
Join Date: Jun 2015
Posts: 34
Rep Power: 10 |
The fvDOM solver can be modified with some stuff from polyMesh::nSolutionD()
Code:
forAll(boundaryMesh(), patchi) 69 { 70 if (boundaryMesh()[patchi].size()) 71 { 72 if (isA<emptyPolyPatch>(boundaryMesh()[patchi])) 73 { 74 nSolutionD = 2; 76 } 77 else if (isA<wedgePolyPatch>(boundaryMesh()[patchi])) 78 { 79 nSolutionD = 2; 86 } 87 } 88 } if (nSolutionD == 3) { nRay_ = 4*nPhi_*nTheta_; IRay_.setSize(nRay_); scalar deltaPhi = pi/(2.0*nPhi_); scalar deltaTheta = pi/nTheta_; label i = 0; for (label n = 1; n <= nTheta_; n++) { for (label m = 1; m <= 4*nPhi_; m++) { scalar thetai = (2.0*n - 1.0)*deltaTheta/2.0; scalar phii = (2.0*m - 1.0)*deltaPhi/2.0; IRay_.set ( i, new radiativeIntensityRay ( *this, mesh_, phii, thetai, deltaPhi, deltaTheta, nLambda_, absorptionEmission_, blackBody_, i ) ); i++; } } } ............ Any comments? |
|
February 18, 2019, 23:52 |
|
#3 |
New Member
Syed Ashruf
Join Date: Nov 2012
Location: Chennai, India
Posts: 11
Rep Power: 13 |
I know it has been a long time since you posted but, did you try to add a wedge specific boundary condition for fvDOM in OpenFOAM?
__________________
Thanks Ashruf |
|
January 27, 2021, 02:48 |
|
#4 |
New Member
Junjun Guo
Join Date: May 2019
Posts: 12
Rep Power: 6 |
Hi, did anyone know how to solver this issue? wedge/Asix BC for fvDOM model?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) | Aadhavan | OpenFOAM Meshing & Mesh Conversion | 2 | March 8, 2018 01:47 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 14:24 |
Error during initialization of "rhoSimpleFoam" | kornickel | OpenFOAM Running, Solving & CFD | 8 | September 17, 2013 05:37 |
[Commercial meshers] Fluent msh and cyclic boundary | cfdengineering | OpenFOAM Meshing & Mesh Conversion | 48 | January 25, 2013 03:28 |
[mesh manipulation] Using createPatch in place of couplePatches | sripplinger | OpenFOAM Meshing & Mesh Conversion | 8 | November 13, 2009 07:14 |