Closed f-brinkmann closed 3 months ago
Having noticed this problem, I looked for the bug in the code found what I think is another bug: Line 296 in NCIinput.cpp. Perhaps the variable numIncidentPlaneWaves should be numPointSources_.
@Kaves-Engineering, thanks for reporting. We are testing plane waves scattered by a sphere against analytical soloutions, so I hope everything is fine. If you need plane wave export from Blender, I could already make a patch release of #108. I was holding it back to improve related tests, but I don't see that I find time for that in the next weeks.
@schaastrommla, could you have a look?
If the work-around is viable, I have no rush. My purpose of using plane waves is to compare plane waves scattered by a sphere using mesh2hrtf with the same analysis perfomed in COMSOL multiphysics as a reference test.
Yes that should work. We have tests that are running correctly for a plane wave scattered by a rigid and sound soft sphere:
This is fixed in Mesh2HRTF v1.1.2
Plane wave sources are currently not correctly written to the NC.inp file (NumCalc/source_1 in the Mesh2HRTF project folder). This will be fixed with #108. In the meantime, use this work-around