|
[Sponsors] |
cellSet - Divide Patch Wall in Pipe for implementation different BCs |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 12, 2012, 12:20 |
cellSet - Divide Patch Wall in Pipe for implementation different BCs
|
#1 |
New Member
Join Date: Feb 2012
Posts: 11
Rep Power: 14 |
Hey,
I am using the forum since quite a long time now and always found really helpful posts, but to this topic I couldn't find what I was looking for. I want to simulate the flow through a pipe with a constant wall tempreture on the outer wall. But in fact only part of the wall has a constant wall temperatur. On the pipe the first 40mm are adiabatic, than 60mm konst temp., again 40mm adabaitc and so on. (16 times) - I hope I explained it understandable. I tried to use createPatch und cellSetDict ( // Cells with centre within cylinder: cylinderToCell)to form that shape but it didn't work. For the mesh I use Salome, but in fact it is overcharged with that mesh. Does anyone have a hint what else I could try for this problem? Is there any other utility I still havn't found? I really hope that somebody has a good idea. Thanks a lot in advance cheers, Franzi PS: I am using OF 1.7. |
|
May 13, 2012, 08:18 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
ur answer is "groovyBC", you dont need to divide your patch you can apply your non uniform boundary condition with groovyBC
you can download it from here: "http://openfoamwiki.net/index.php/Contrib_groovyBC " |
|
May 13, 2012, 09:54 |
|
#3 |
New Member
Join Date: Feb 2012
Posts: 11
Rep Power: 14 |
Hi,
Thanks a lot for the fast answer!!! I already usw groovyBC for the BC Temperature on the wall like this: aussen { type groovyBC; variables "h=109.0;Tinf=494.0;rho=777.0;cp=2200.0;k=kappaEff *cp*rho;"; valueExpression "Tinf"; fractionExpression "1.0/(1.0+k/(mag(delta())*h))"; } But I don't see any way to put in a condition. I want that half of the tube has the groovyBC condition as defined above und is other half zeroGradient for an adiabatic wall. Can I set something like -condition "pos().z>0.4 && pos().z<0.6" for the wall in groovyBC? What about swak4Foam? I saw it in the forum and wonder if I can use that to make zeroGradient for different positions on the wall. But that only sets initial values, right ? no BCs that stays constant while simulating? Oh, I am really confused at the moment... Thanks in advance for helping! Cheers Franzi |
|
Tags |
boundary condition, cellsetdict, constant wall temperature, createpatch |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
[blockMesh] StitchMesh on two patches | anita | OpenFOAM Meshing & Mesh Conversion | 31 | April 4, 2013 12:51 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |
fluid flow fundas | ram | Main CFD Forum | 5 | June 17, 2000 22:31 |