|
[Sponsors] |
[OpenFOAM.com] Installing and running Swak4Foam on 1912 docker |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 30, 2020, 10:44 |
Installing and running Swak4Foam on 1912 docker
|
#1 |
New Member
Hektor
Join Date: Feb 2020
Posts: 5
Rep Power: 6 |
Dear all,
I do not manage to get OF1912 to run together with the groovyBC boundary condition iusing the supplied the docker containers. ------------------------------------------------------------------ I am running the OF1912 docker on Windows 10. I would like to use the GroovyBC boundary conditions, so I downloaded the swak4FoamAndPyFoamDockerFile docker container from here. I ran the installation script in the docker terminal, and launched it using the launch script. It launches with the following messages appearing: Code:
$ ./startSwakPyFoam ./startSwakPyFoam: line 12: xhost: command not found of_v1912_plus_swak /usr/bin/id: cannot find name for user ID 1072466 [I have no name!@3c7e170bd1c5 hewa]$ The solvers are simple to fix, I just copy my binary to the working folder, and run it from there. This seems however not to work with the BC's. Code:
$ ls 0 0_orig VTK clean constant dynamicCode myBC.so myIcoReactingMultiphaseInterFoam system $ ./myIcoReactingMultiphaseInterFoam ... --> FOAM FATAL IO ERROR: Unknown patchField type myBC for patch type patch ... Code:
[I have no name!@3c7e170bd1c5 myIcoReactingMultiphaseInterFoam]$ wmake g++ -std=c++11 -m64 -DOPENFOAM=1912 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -I./phasesSystem/lnInclude -I./CompressibleMultiPhaseTurbulenceModels/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1912/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1912/src/fvOptions/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1912/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1912/src/sampling/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1912/src/transportModels/compressible/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1912/src/TurbulenceModels/turbulenceModels/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1912/src/TurbulenceModels/compressible/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1912/src/transportModels/interfaceProperties/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1912/src/thermophysicalModels/radiation/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1912/src/thermophysicalModels/basic/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1912/src/thermophysicalModels/specie/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1912/src/thermophysicalModels/reactionThermo/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-v1912/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1912/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt32Opt/myIcoReactingMultiphaseInterFoam.o -L/opt/OpenFOAM/OpenFOAM-v1912/platforms/linux64GccDPInt32Opt/lib \ -lfiniteVolume -lfvOptions -lmeshTools -lsampling -lturbulenceModels -lcompressibleTurbulenceModels -lcompressibleTransportModels -lradiationModels -lfluidThermophysicalModels -lIncompressibleMultiphaseSystems -lCompressibleMultiPhaseTurbulenceModels -lmassTransferModels -lsolidThermo -lsolidSpecie -ltwoPhaseProperties -llaserDTRM -lOpenFOAM -ldl \ -lm -o /opt/OpenFOAM/OpenFOAM-v1912/platforms/linux64GccDPInt32Opt/bin/myIcoReactingMultiphaseInterFoam /usr/bin/ld: cannot open output file /opt/OpenFOAM/OpenFOAM-v1912/platforms/linux64GccDPInt32Opt/bin/myIcoReactingMultiphaseInterFoam: Permission denied collect2: error: ld returned 1 exit status make: *** [/opt/OpenFOAM/OpenFOAM-v1912/platforms/linux64GccDPInt32Opt/bin/myIcoReactingMultiphaseInterFoam] Error 1 Some observations that may, or may not, be of relevance:
Best regards Hektor Last edited by hektorWartgard; March 31, 2020 at 07:51. |
|
April 2, 2020, 17:42 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
Dont know the answer to your question, I'm afraid. Yet I want to take this chance to highlight the fact that most of the functionalities of swak4Foam has been implemented into OFv1912 by converting from swak4Foam:
New expressions syntax.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
April 7, 2020, 04:35 |
|
#3 |
New Member
Hektor
Join Date: Feb 2020
Posts: 5
Rep Power: 6 |
That is interesting, thank you.
|
|
May 25, 2021, 14:00 |
swak4foam could not be installed on the cluster
|
#4 |
Senior Member
|
Hi, could you please help me to see how to solve this issue since I tried many ways, really appreciated it.
Code:
/cineca/prod/opt/applications/openfoam+/v1912/intelmpi--2018--binary/OpenFOAM-v1912+/wmake/rules/linux64Gcc/c++:5: /cineca/prod/opt/applications/openfoam+/v1912/intelmpi--2018--binary/OpenFOAM-v1912+/wmake/rules/linux64Gcc/c++OptBDW: No such file or directory make: *** No rule to make target `/cineca/prod/opt/applications/openfoam+/v1912/intelmpi--2018--binary/OpenFOAM-v1912+/wmake/rules/linux64Gcc/c++OptBDW'. Stop. /cineca/prod/opt/applications/openfoam+/v1912/intelmpi--2018--binary/OpenFOAM-v1912+/wmake/rules/linux64Gcc/c++:5: /cineca/prod/opt/applications/openfoam+/v1912/intelmpi--2018--binary/OpenFOAM-v1912+/wmake/rules/linux64Gcc/c++OptBDW: No such file or directory /cineca/prod/opt/applications/openfoam+/v1912/intelmpi--2018--binary/OpenFOAM-v1912+/wmake/rules/linux64Gcc/c++:5: /cineca/prod/opt/applications/openfoam+/v1912/intelmpi--2018--binary/OpenFOAM-v1912+/wmake/rules/linux64Gcc/c++OptBDW: No such file or directory /cineca/prod/opt/applications/openfoam+/v1912/intelmpi--2018--binary/OpenFOAM-v1912+/wmake/rules/linux64Gcc/c++:5: /cineca/prod/opt/applications/openfoam+/v1912/intelmpi--2018--binary/OpenFOAM-v1912+/wmake/rules/linux64Gcc/c++OptBDW: No such file or directory make: *** No rule to make target `/cineca/prod/opt/applications/openfoam+/v1912/intelmpi--2018--binary/OpenFOAM-v1912+/wmake/rules/linux64Gcc/c++OptBDW'. Stop. wmake error: file 'Make/linux64IccDPInt32OptBDW/sourceFiles' could not be created in /galileo/home/userexternal/qyang001/OpenFOAM/qyang001-v1912/swak4Foam/Utilities/makeAxialMesh Code:
libEulerianInterfacialSedModels.so libEulerianPpSedModels.so libgranularRheologySedModel.so libgroovyBC.so libgroovyStandardBCs.so libkineticTheorySedModel.so libmyturbulenceModels.so libsimpleCloudFunctionObjects.so libsimpleFunctionObjects.so libsimpleLagrangianFunctionObjects.so libsimpleRegionSolvers.so libsimpleSearchableSurfaces.so libsimpleSwakFunctionObjects.so libswak4FoamParsers.so libswakChemistryModelFunctionPlugin.so libswakCloudFunctionObjects.so libswakCoalCloudAdaptor.so libswakDynamicMeshFunctionPlugin.so libswakDynamicMesh.so libswakFacSchemesFunctionPlugin.so libswakFiniteArea.so libswakFunctionObjects.so libswakFvcSchemesFunctionPlugin.so libswakFvOptions.so libswakGeneralLanguageIntegration.so libswakLagrangianCloudSourcesFunctionPlugin.so libswakLagrangianParser.so libswakLocalCalculationsFunctionPlugin.so libswakLuaIntegration.so libswakMeshQualityFunctionPlugin.so libswakMeshWaveFunctionPlugin.so libswakMRFFunctionPlugin.so libswakPython3Integration.so libswakPythonIntegration.so libswakQuantileFunctionPlugin.so libswakRadiationModelFunctionPlugin.so libswakRandomFunctionPlugin.so libswakScriptableLagrangian.so libswakShiftFieldFunctionPlugin.so libswakSourceFields.so libswakStateMachine.so libswakSurfacesAndSetsFunctionPlugin.so libswakThermoTurbFunctionPlugin.so libswakTopoSources.so libswakTransportTurbFunctionPlugin.so libswakVelocityFunctionPlugin.so libtwoPhaseModel.so libtwoPhaseTurbulenceModels.so |
|
Tags |
docker, installataion, openfoam1912, swak4foam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Basic questions about OpenFOAM cluster running and installing | Fauster | OpenFOAM Installation | 0 | May 25, 2018 16:00 |
[swak4Foam] Installing swak4Foam 0.4.0 on ubuntu 14.04 | JFM | OpenFOAM Community Contributions | 1 | October 30, 2016 10:43 |
[swak4Foam] Installing swak4Foam on ubuntu 12.04 | fluidflowsteel | OpenFOAM Community Contributions | 1 | June 28, 2016 15:02 |
[swak4Foam] foam-extend-3.2 installing problem: swak4Foam failed to install due to Bison | lxwd | OpenFOAM Community Contributions | 1 | March 20, 2016 17:03 |
[swak4Foam] Error installing swak4Foam 0.2.3 on OF 2.2.2 | Mojtaba.a | OpenFOAM Community Contributions | 2 | December 7, 2013 04:32 |