diff --git a/applications/test/checkDecomposePar/Make/files b/applications/test/checkDecomposePar/Make/files index 512f2b1736000a070b0ba83547e9a8df4e62f69b..28f156102e1a752266920da88a2f5c5ed83da41d 100644 --- a/applications/test/checkDecomposePar/Make/files +++ b/applications/test/checkDecomposePar/Make/files @@ -1,3 +1,3 @@ Test-checkDecomposePar.C -EXE = $(FOAM_APPBIN)/Test-checkDecomposePar +EXE = $(FOAM_USER_APPBIN)/Test-checkDecomposePar diff --git a/applications/test/surfaceMeshConvert/Make/files b/applications/test/surfaceMeshConvert/Make/files index 91a99b3fefff01fee84d55894c34e5996b9d2a38..83c85dc6f7d8967e3527501a74dd1ab4c0582001 100644 --- a/applications/test/surfaceMeshConvert/Make/files +++ b/applications/test/surfaceMeshConvert/Make/files @@ -1,3 +1,3 @@ Test-surfaceMeshConvert.C -EXE = $(FOAM_APPBIN)/Test-surfaceMeshConvert +EXE = $(FOAM_USER_APPBIN)/Test-surfaceMeshConvert diff --git a/applications/test/surfaceReading/Make/files b/applications/test/surfaceReading/Make/files index 60efef416d5faa709e256bd507f743ce486ed6ec..f908f3f45de52c2f82d7c95888f74f13b018630b 100644 --- a/applications/test/surfaceReading/Make/files +++ b/applications/test/surfaceReading/Make/files @@ -1,3 +1,3 @@ Test-surfaceReading.C -EXE = $(FOAM_APPBIN)/Test-surfaceReading +EXE = $(FOAM_USER_APPBIN)/Test-surfaceReading diff --git a/bin/mergedDyM b/bin/deprecated/mergedDyMsolver similarity index 98% rename from bin/mergedDyM rename to bin/deprecated/mergedDyMsolver index dbca663ef9ec040557d5958f4fcba7af74a8078e..ba7cb7c9d628b4e5c267eae489682274b7bdca67 100755 --- a/bin/mergedDyM +++ b/bin/deprecated/mergedDyMsolver @@ -23,7 +23,7 @@ # along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. # # Script -# mergedDyM +# mergedDyMsolver # # Description # Script to inform that dynamic mesh (DyM) functionality has been diff --git a/bin/interDyMFoam b/bin/interDyMFoam index d9fcbed5a0aea6bee7499aa8e041c9a8223e01ac..ef6af85d53a75734183b25b3581b95ca8f9bfa1d 120000 --- a/bin/interDyMFoam +++ b/bin/interDyMFoam @@ -1 +1 @@ -mergedDyM \ No newline at end of file +deprecated/mergedDyMsolver \ No newline at end of file diff --git a/bin/multiphaseInterDyMFoam b/bin/multiphaseInterDyMFoam index d9fcbed5a0aea6bee7499aa8e041c9a8223e01ac..ef6af85d53a75734183b25b3581b95ca8f9bfa1d 120000 --- a/bin/multiphaseInterDyMFoam +++ b/bin/multiphaseInterDyMFoam @@ -1 +1 @@ -mergedDyM \ No newline at end of file +deprecated/mergedDyMsolver \ No newline at end of file diff --git a/bin/pimpleDyMFoam b/bin/pimpleDyMFoam index d9fcbed5a0aea6bee7499aa8e041c9a8223e01ac..ef6af85d53a75734183b25b3581b95ca8f9bfa1d 120000 --- a/bin/pimpleDyMFoam +++ b/bin/pimpleDyMFoam @@ -1 +1 @@ -mergedDyM \ No newline at end of file +deprecated/mergedDyMsolver \ No newline at end of file diff --git a/bin/rhoPimpleDyMFoam b/bin/rhoPimpleDyMFoam index d9fcbed5a0aea6bee7499aa8e041c9a8223e01ac..ef6af85d53a75734183b25b3581b95ca8f9bfa1d 120000 --- a/bin/rhoPimpleDyMFoam +++ b/bin/rhoPimpleDyMFoam @@ -1 +1 @@ -mergedDyM \ No newline at end of file +deprecated/mergedDyMsolver \ No newline at end of file diff --git a/tutorials/incompressible/overPimpleDyMFoam/twoSimpleRotors/system/scripts/writeMesh.py b/tutorials/incompressible/overPimpleDyMFoam/twoSimpleRotors/system/scripts/writeMesh.py deleted file mode 100644 index fa5889ddde3adbc39629eeee9b8ce5835873ab39..0000000000000000000000000000000000000000 --- a/tutorials/incompressible/overPimpleDyMFoam/twoSimpleRotors/system/scripts/writeMesh.py +++ /dev/null @@ -1,83 +0,0 @@ -from paraview.simple import * -from paraview import coprocessing - -#-------------------------------------------------------------- -# Code generated from cpstate.py to create the CoProcessor. -# paraview version 5.5.0 - -#-------------------------------------------------------------- -# Global screenshot output options -imageFileNamePadding=0 -rescale_lookuptable=False - -# ----------------------- CoProcessor definition ----------------------- - -def CreateCoProcessor(): - def _CreatePipeline(coprocessor, datadescription): - class Pipeline: - # a producer from a simulation input - input1 = coprocessor.CreateProducer(datadescription, 'mesh') - - writer1 = servermanager.writers.XMLMultiBlockDataWriter(Input=input1) - coprocessor.RegisterWriter(writer1, filename='insitu/mesh_%t.vtm', freq=1, paddingamount=0) - - return Pipeline() - - class CoProcessor(coprocessing.CoProcessor): - def CreatePipeline(self, datadescription): - self.Pipeline = _CreatePipeline(self, datadescription) - - coprocessor = CoProcessor() - # Frequencies at which the coprocessor updates. - freqs = {'mesh': [5]} - coprocessor.SetUpdateFrequencies(freqs) - return coprocessor - - -#-------------------------------------------------------------- -# Global variable that will hold the pipeline for each timestep -# Creating the CoProcessor object, doesn't actually create the ParaView pipeline. -# It will be automatically setup when coprocessor.UpdateProducers() is called the -# first time. -coprocessor = CreateCoProcessor() - -#-------------------------------------------------------------- -# Enable Live-Visualizaton with ParaView and the update frequency -coprocessor.EnableLiveVisualization(False, 1) - -# ---------------------- Data Selection method ---------------------- - -def RequestDataDescription(datadescription): - "Callback to populate the request for current timestep" - global coprocessor - if datadescription.GetForceOutput() == True: - # We are just going to request all fields and meshes from the simulation - # code/adaptor. - for i in range(datadescription.GetNumberOfInputDescriptions()): - datadescription.GetInputDescription(i).AllFieldsOn() - datadescription.GetInputDescription(i).GenerateMeshOn() - return - - # setup requests for all inputs based on the requirements of the - # pipeline. - coprocessor.LoadRequestedData(datadescription) - -# ------------------------ Processing method ------------------------ - -def DoCoProcessing(datadescription): - "Callback to do co-processing for current timestep" - global coprocessor - - # Update the coprocessor by providing it the newly generated simulation data. - # If the pipeline hasn't been setup yet, this will setup the pipeline. - coprocessor.UpdateProducers(datadescription) - - # Write output data, if appropriate. - coprocessor.WriteData(datadescription); - - # Write image capture (Last arg: rescale lookup table), if appropriate. - coprocessor.WriteImages(datadescription, rescale_lookuptable=rescale_lookuptable, - image_quality=0, padding_amount=imageFileNamePadding) - - # Live Visualization, if enabled. - coprocessor.DoLiveVisualization(datadescription, "localhost", 22222)