|
[Sponsors] |
March 5, 2021, 03:11 |
Fixed slip length BC blowing up?
|
#1 |
Senior Member
Join Date: Jun 2016
Posts: 102
Rep Power: 10 |
Hello All,
I'm trying to implement a partial slip boundary condition that takes a fixed slip length as the input. I modified JohnsonJacksonParticleSlip, which was based on partialSlip. The key calculation step is Code:
this->valueFraction() = 1.0/(1.0+slipLength_*patch().deltaCoeffs()); The original partialSlip BC worked fine. It just doesn't support non-uniform meshes with a fixed fraction value. I can compile this new BC, but it will blow up in 1 or 2 timesteps. This is very confusing. 0<1/(1+non_negative_number*positive_number)<=1 always holds and I can't understand why it's blowing up. I've attached my source code. It compiles with OF v2012. I would appreciate any kind of suggestion. |
|
March 10, 2021, 14:41 |
|
#2 |
Senior Member
Join Date: Jun 2016
Posts: 102
Rep Power: 10 |
Seems like there's nothing wrong with the BC.
I mixed up 32bit solver with 64bit mesh and it blew up. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Equivalent length of helical coil | Jeffreyb723 | Main CFD Forum | 0 | August 18, 2017 23:26 |
boundary conditions for simpleFoam calculation | foam_noob | OpenFOAM Running, Solving & CFD | 8 | July 1, 2015 09:07 |
Free slip and no slip. | Yung | Fidelity CFD | 2 | August 16, 2006 10:24 |
Free slip and no slip. | Yung | Phoenics | 3 | March 2, 2006 12:04 |
Free slip and no slip. | Yung | Siemens | 0 | February 4, 2006 11:37 |