CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.com] Using surfaceautopatch in windows 10? (https://www.cfd-online.com/Forums/openfoam-installation/222554-using-surfaceautopatch-windows-10-a.html)

otaolafr November 28, 2019 14:52

Using surfaceautopatch in windows 10?
 
hello,
i have followed the guide from openfoam.com to install OF in w10 (https://www.openfoam.com/download/in...windows-10.php)

everything okey and OF works, but i was trying to use surfaceAutoPatch,
it gave me the error that it wasnt installed, after installation,and re do the surfaceAutoPatch it gave me the following error:
surfaceAutoPatch: symbol lookup error: /usr/lib/libtriSurface.so: undefined symbol: _ZNK4Foam11regIOobject11writeObjectENS_8IOstream12 streamFormatENS1_13versionNumberENS1_15compression TypeE
anyhelp?

HPE November 29, 2019 11:33

What was the first error that led you to the re-installation? The second error might be related that the reinstallation is corrupted due to the lack of fresh start of installation (you might need to delete everything before the re-installation).

otaolafr November 29, 2019 12:28

Quote:

Originally Posted by HPE (Post 751093)
What was the first error that led you to the re-installation? The second error might be related that the reinstallation is corrupted due to the lack of fresh start of installation (you might need to delete everything before the re-installation).

hi!
thanks for answering me,
what I have done for the moment was to follow the instructions of installation from openfoam.com (https://www.openfoam.com/download/in...windows-10.php)
some other details:
when doing the instructions everything went okay (installed everything correctly and also run the case cavity)
after doing it, I tried to run paraFoam without success and after some reading I installed Xming and then paraFoam worked.

as I am learning, I found a tutorial where they used surfaceAutoPatch and as I want to use external STLs I thought it would be a great opportunity, I tried to use it and it told me that I didn't had it installed and then offered me to install it.
I installed (no error show up) and then when I tried again it showed that error.
also, another thing I found myself was that when I tried to use parametric blockMesh with internal calculations (with #calc) it also gives me an error (if I take out all the #calc blockMesh works perfectly...)
for the second error, I am pasting it at the end.

what I am really questioning my self (as I am not someone that has worked with Linux or that have done a lot of programming...) if it is a good idea to keep with the WLS to use OF or if i should install a virtual machine with Linux directly to not have any errors (another example is that I paste a folder in the explorer of windows in the same folder that the cavity example was created, from the installation, and I didn't have rights to read/write/execute the newly copied folder from the Ubuntu terminal)

the ubuntu that I installed was the one from the window store 18.04 LTS


Code:

--> FOAM FATAL IO ERROR:
Failed wmake "dynamicCode/_32523b6657d9c45c007350f9a7929aec199259b9/platforms/linux64Gcc63DPInt32Opt/lib/libcodeStream_32523b6657d9c45c007350f9a7929aec199259b9.so"


file: /mnt/c/Users/Microreactors/OpenFoam_Filles_Simulation/test_snappy/system/blockMeshDict

    From function static void (* Foam::functionEntries::codeStream::getFunction(const Foam::dictionary&, const Foam::dictionary&))(Foam::Ostream&, const Foam::dictionary&)
    in file db/dictionary/functionEntries/codeStream/codeStream.C at line 201.

FOAM exiting

thanks for the help, I am really new with OpenFOAM, and it is not easy to follow everything when at the same time you don't know a lot about computers...

HPE November 29, 2019 12:47

No worries.

>> if it is a good idea to keep with the WLS to use OF or if i should install a virtual machine with Linux directly to not have any errors

I don't know how to even shut down a Windows computer, I'm afraid, so can't suggest anything about this.

Is there any chance for you to attach the error log file, so that I can chase it up for you in the medium term?

otaolafr November 30, 2019 10:28

Quote:

Originally Posted by HPE (Post 751103)
No worries.

>> if it is a good idea to keep with the WLS to use OF or if i should install a virtual machine with Linux directly to not have any errors

I don't know how to even shut down a Windows computer, I'm afraid, so can't suggest anything about this.

Is there any chance for you to attach the error log file, so that I can chase it up for you in the medium term?

LOL, well I guess that we are at the same place but in other sides of the "window"... As I don't even know how to recover an error file 😅 I only copy paste from the command line... 😅

Best regards

HPE December 4, 2019 16:41

I will chase it for you till next Monday since openfoam.com repos seem to be under maintenance. Bear with me please. Apologies for the delay.

otaolafr December 5, 2019 08:18

Quote:

Originally Posted by HPE (Post 751527)
I will chase it for you till next Monday since openfoam.com repos seem to be under maintenance. Bear with me please. Apologies for the delay.

thanks,
to dont have any more issues as some things i wasnt able to do with the windows version, i changed to a linux ubuntu machine for the moment i am not having any issue :) thanks a lot! (either way if you could teach me how i can copy a error file for next time i will appreciate it )


All times are GMT -4. The time now is 22:49.