CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

fvDOM OpenFOAM wedge type patch

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By jaydeep

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 9, 2017, 17:57
Default fvDOM OpenFOAM wedge type patch
  #1
Member
 
Jaydeep
Join Date: Jun 2015
Posts: 34
Rep Power: 10
jaydeep is on a distinguished road
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!
Attached Files
File Type: zip case.zip (15.3 KB, 16 views)
jaydeep is offline   Reply With Quote

Old   November 9, 2017, 22:39
Default A quick thought
  #2
Member
 
Jaydeep
Join Date: Jun 2015
Posts: 34
Rep Power: 10
jaydeep is on a distinguished road
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     }
followed by the fvDOM.C which determines if the solution is for 2D or 3D problems

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?
Naaren likes this.
jaydeep is offline   Reply With Quote

Old   February 18, 2019, 23:52
Default
  #3
New Member
 
Syed Ashruf
Join Date: Nov 2012
Location: Chennai, India
Posts: 11
Rep Power: 13
ashrufsyed is on a distinguished road
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
ashrufsyed is offline   Reply With Quote

Old   January 27, 2021, 02:48
Default
  #4
New Member
 
Junjun Guo
Join Date: May 2019
Posts: 12
Rep Power: 6
Junjun Guo is on a distinguished road
Hi, did anyone know how to solver this issue? wedge/Asix BC for fvDOM model?
Junjun Guo is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 00:45.