CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM CC Toolkits for Fluid-Structure Interaction (https://www.cfd-online.com/Forums/openfoam-cc-toolkits-fluid-structure-interaction/)
-   -   [stressAnalysis] Failed to create symbolic link: flappingConsoleSmall and unable to use ParaView in it (https://www.cfd-online.com/Forums/openfoam-cc-toolkits-fluid-structure-interaction/127223-failed-create-symbolic-link-flappingconsolesmall-unable-use-paraview.html)

Maimouna December 5, 2013 06:22

Failed to create symbolic link: flappingConsoleSmall and unable to use ParaView in it
 
Dear Bruno,

thanks a lot, paraview is working now for some tested cases in both OF-2.2.2 and OF-1.6-ext.

But, I faced another problem when I tried running flappingConsoleSmall in
OpenFOAM/maimouna-1.6-ext/run/tutorials/stressAnalysis/icoFsiFoam/flappingConsoleSmall
I apply
./Allclean
./Allrun
for running, it takes around 16 hours for running. It run very well for fluid case , but unfortunately, it gives me this command for solid
ln: failed to create symbolic link `0/solid': File exists
and after paraFoam, it gives me these commands
ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 8464
vtkPOpenFOAMReader (0x3540160): /home/maimouna/OpenFOAM/maimouna-1.6-ext/run/tutorials/stressAnalysis/icoFsiFoam/flappingConsoleSmall/flappingConsoleSmall.foam contains no timestep data.


ERROR: In /build/buildd/paraview-3.14.1/VTK/Filtering/vtkExecutive.cxx, line 756
vtkPVCompositeDataPipeline (0x35411f0): Algorithm vtkPOpenFOAMReader(0x3540160) returned failure for request: vtkInformation (0x35427d0)
Debug: Off
Modified Time: 70860
Reference Count: 1
Registered Events: (none)
Request: REQUEST_INFORMATION
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0

how can solve that? What's wrong with solid at flappingConsoleSmall.

Warm regards
Maimouna

Maimouna December 6, 2013 06:05

Failed to create symbolic link: flappingConsoleSmall
 
Dear OpenFOAM users,

I'm working in OpenFOAM-1.6-ext in Ubuntu 12.04 (x86.64). I tried flappingConsoleSmall which is FSI case in icoFsiFoam solver (tutorials/ stressAnalysis/ icoFsiFoam/ flappingConsoleSmall), after running,
./Allclean
./Allrun

I got
ln: failed to create symbolic link `solid/constant': File exists
ln: failed to create symbolic link `solid/0': File exists

How can I solve this? Any idea?

Regards

Maimouna December 7, 2013 10:44

Dear Bruno,

how can I solve
ln: failed to create symbolic link `0/solid': File exists.

after running flappingConsoleSmall case?

Regards

wyldckat December 8, 2013 13:58

Hi Maimouna,

I've moved the first and third post from the other thread you had to here, namely from this one: http://www.cfd-online.com/Forums/ope...1-6-ext-2.html

OK, these two:
Code:

ln: failed to create symbolic link `solid/constant': File exists
ln: failed to create symbolic link `solid/0': File exists

Aren't a problem. It just means that it is not able to create the link, because the link already exists from the first time the Allrun script was executed.

If you don't want to see this error, then add these two lines to the end of the Allclean script:
Code:

unlink fluid/0/solid
unlink fluid/constant/solid

As for the problem with ParaView/paraFoam: you must run paraFoam from within the "fluid" folder.

Best regards,
Bruno

Maimouna December 9, 2013 06:08

Dear Bruno,

when apply paraFoam, ParaView window gives me this error:

ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875
vtkOpenFOAMReaderPrivate (0x2d670f0): boundaryField defaultFaces not found in object U at time = 0
.

What's the problem?

Regards

wyldckat December 9, 2013 18:07

Hi Maimouna,
  1. Edit the file "fluid/0/U".
  2. Add this to before the last bracket "}" in the file:
    Code:

        defaultFaces
        {
            type            empty;
        }

  3. The last part of the file should now look something like this:
    Code:

        inlet
        {
            type            fixedValue;
            value          uniform (4 0 0);
        }
        frontAndBackPlanes
        {
            type            empty;
        }
        defaultFaces
        {
            type            empty;
        }
    }


    // ************************************************************************* //

After saving the file, ParaView should no longer complain.


Best regards,
Bruno

Maimouna December 10, 2013 06:12

Dear Bruno,

many thanks for your help.

Warm regards
Maimouna


All times are GMT -4. The time now is 08:09.