|
[Sponsors] |
December 1, 2005, 14:17 |
I'm going to use 'mapInlet.H'
|
#1 |
Member
Ali Heidari
Join Date: Mar 2009
Location: Surrey, London, United Kingdom
Posts: 39
Rep Power: 17 |
I'm going to use 'mapInlet.H' from version 1.1 in 1.2, but there is a problem. In 1.1, for the same case, the result of following sentence is "true", but in 1.2, the outcome is "false".
if (planeMapping && targetPatchNamePresent && cut.cut()) { // some code } I know for sure that both planeMapping and targetPatchNamePresent are true in both 1.1 and 1.2, but I guess there is a problem so 1.2 doesn't recognize "cut.cut()" and it returns false. I suspect this is because of some changes in the 1.2, what I should put instead if "cut.cut()" to make it working in 1.2? Thanks |
|
December 2, 2005, 05:27 |
You could check the source cod
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
You could check the source code. What type is cut? Wasn't it a cuttingPlane? (sampling library)
|
|
December 5, 2005, 21:10 |
Mattijs,
Yes 'cut' is 'cut
|
#3 |
Member
Ali Heidari
Join Date: Mar 2009
Location: Surrey, London, United Kingdom
Posts: 39
Rep Power: 17 |
Mattijs,
Yes 'cut' is 'cuttingPlane' type. I found no change of syntax between 1.1 and 1.2. I shifted the position of my mapping plane sligtly and it worked. It might be that I am cutting exactly between two cell layers, which could cause the cutting algorithm to fail. But the thing is I have exact same location of mapping (two identical cases) and 1.1 works without any problem, but 1.2 does not work, I'm still puzzled. Anyhow, just shifting mapping location solves the problem but it's still odd. |
|
December 6, 2005, 05:43 |
Can you create a simple testca
|
#4 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Can you create a simple testcase which shows this behaviour? The 1.2 code should be at least as good as the 1.1 code (but much faster)
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem in running code | yaseer | Main CFD Forum | 0 | March 23, 2007 12:08 |
problem in installation of Fedora code | peter | Main CFD Forum | 1 | August 22, 2006 10:03 |
Looking for a open FEM code to solve a FSI problem | Esto | Main CFD Forum | 3 | June 15, 2006 12:02 |
problem with using colocated code | Jack | Main CFD Forum | 0 | December 15, 2002 01:15 |
SIMPLE code for 3_D problem | bobby | Main CFD Forum | 1 | December 26, 2000 00:20 |