FIELDS - Interpolate field

Hello, is anyone able to do interpolate field in FIEDLS module?
When I try to do this I always get error

result_id = medcalc.InterpolateField(fieldId=20,meshId=0,precision=0.1,defaultValue=1,reverse=1,method=‘P2P0’,nature=‘IntensiveMaximum’,intersectionType=‘Triangulation’)
Traceback (most recent call last):
File “”, line 1, in
File “C:\Users\vojta\Desktop\SALOME-9.9.0\W64\FIELDS\lib\python3.6\site-packages\salome\medcalc\medprocessing.py”, line 55, in InterpolateField
fieldHandler = dataManager.interpolateField(fieldId, meshId, params)
File “C:\Users\vojta\Desktop\SALOME-9.9.0\W64\FIELDS\bin\salome\MEDDataManager_idl.py”, line 275, in interpolateField
return self._obj.invoke(“interpolateField”, _0_MEDCALC.MEDDataManager._d_interpolateField, args)
omniORB.CORBA.UNKNOWN: CORBA.UNKNOWN(omniORB.UNKNOWN_UserException, CORBA.COMPLETED_MAYBE)
result_id

can you try to run with session mode. To do that:

  • copy run_salome.bat to run_salome_noSSL.bat

  • Edit that file and replace:
    START %out_dir_Path%\W64\Python\python3.exe %out_dir_Path%\salome %*

    with:

    START %out_dir_Path%\W64\Python\python3.exe %out_dir_Path%\salome withsession %*

Then launch SALOME with run_salome_noSSL.bat and check if this helps to resolve the issue. If not, let us know, such that we can escalate it to the developers.

No, it didn’t help.

1 Like

I tried it also on ubuntu, but it behaves the same.