|
[Sponsors] |
fvDOM bugs in 2D? (can only be 2D in X-Y plane) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 21, 2014, 07:17 |
fvDOM bugs in 2D? (can only be 2D in X-Y plane)
|
#1 |
Senior Member
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 14 |
Hello everybody,
These days I just tested the radiation models in OpenFOAM, as enlightend by this post:http://www.cfd-online.com/Forums/ope...n-problem.html However, I found a few problems. One is that the view factor model seems to show no regards to 'empty' b.c. (I hope I am wrong here, but if I am indeed wrong I hope to corrected by you), which has been put in an independent post. And regarding fvDOM, it seems you can only put your 2D geometry within X-Y plane. I took a look at the source code fvDOM.C and starting from line 88 Code:
if (mesh_.nSolutionD() == 2) //2D (X & Y) { scalar thetai = piByTwo; scalar deltaTheta = pi; nRay_ = 4*nPhi_; IRay_.setSize(nRay_); scalar deltaPhi = pi/(2.0*nPhi_); label i = 0; for (label m = 1; m <= 4*nPhi_; m++) { 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++; } |
|
October 23, 2014, 10:36 |
|
#2 |
Senior Member
Join Date: Oct 2013
Posts: 397
Rep Power: 19 |
Probably because of time/resources constraints...feel free to submit a patch!
|
|
October 23, 2014, 16:24 |
|
#3 |
Senior Member
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 14 |
How and where to do that?
|
|
October 24, 2014, 03:53 |
|
#4 |
Senior Member
Join Date: Oct 2013
Posts: 397
Rep Power: 19 |
Bug tracker is here: http://www.openfoam.org/bugs/
For submitting patches, I think Github is the way to go: https://github.com/OpenFOAM/OpenFOAM-2.3.x |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using a Plane id in Fluent UDF | cdf_user | Fluent UDF and Scheme Programming | 13 | October 17, 2023 01:06 |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 03:09 |
Plane stress and plane strain cases for stress analysis | Sargam05 | OpenFOAM | 0 | May 3, 2013 19:16 |
Meshing a Mixing Plane using ICEM | Will Anderson | FLUENT | 0 | November 6, 2010 18:08 |
[Gmsh] boundaries with gmshToFoam | ouafa | OpenFOAM Meshing & Mesh Conversion | 7 | May 21, 2010 13:43 |