mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-25 02:32:04 +05:00
22580: EDF 8049 SMESH: Problems with viscous layer
Pb on a fillet at a large first inflation step
This commit is contained in:
parent
5e83e1e8e9
commit
9d93189fdb
@ -1707,6 +1707,8 @@ void _ViscousBuilder::findSimplexTestEdges( _SolidData& data,
|
|||||||
inDir * minDir.XYZ() < 0 )
|
inDir * minDir.XYZ() < 0 )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
limitStepSize( data, 0.9 / surfCurvature );
|
||||||
|
|
||||||
// add _simplices to the _LayerEdge's
|
// add _simplices to the _LayerEdge's
|
||||||
for ( size_t iE = 0; iE < ledgesOnEdges.size(); ++iE )
|
for ( size_t iE = 0; iE < ledgesOnEdges.size(); ++iE )
|
||||||
{
|
{
|
||||||
@ -3099,7 +3101,7 @@ bool _ViscousBuilder::updateNormals( _SolidData& data,
|
|||||||
if ( FF1[0].IsNull() || FF2[0].IsNull() )
|
if ( FF1[0].IsNull() || FF2[0].IsNull() )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// // get a new normal for edge1
|
// get a new normal for edge1
|
||||||
bool ok;
|
bool ok;
|
||||||
gp_Vec dir1 = edge1->_normal, dir2 = edge2->_normal;
|
gp_Vec dir1 = edge1->_normal, dir2 = edge2->_normal;
|
||||||
if ( edge1->_cosin < 0 )
|
if ( edge1->_cosin < 0 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user