怎样在waves2Foam中增加新的自定义波浪类型?
-
本人已经将代码部分写好并重新编译了waves2Foam库,但是在算例中,运行setWaveField这一步时,还是会提示:
--> FOAM FATAL ERROR: Unknown wave theory type freakWave Valid wave theories types are : 14 ( stokesFirstStanding cnoidalFirst combinedWaves irregular bichromaticSecond bichromaticFirst streamFunction solitaryFirst stokesSecondModulation externalSource stokesFirst stokesFifth stokesSecond potentialCurrent )
请问该如何处理?谢谢!