Git Product home page Git Product logo

openfoam-11's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

openfoam-11's Issues

(0.orig) or (0) and this error "cannot find file "/home/x/elbow_tri/0/p"

Hello everyone,

I hope that i'm positing in the right channel,

So i'm a bit new to OpenFOAM and i know that there is some differences between each version. As a starter i wanted to follow Jozsef Nagy video about the elbow tutorial, and when i try to launch the simulation i get this error "cannot find file "/home/x/elbow_tri/0/p"

in fact, i have fixed it by changing the name of the folder "0.orig" to "0" and it worked perfectly, but i'm still wondering why did openFoam change the name of the folder, is there something that i did not setup correctly or something that i'm missing in my solver ?

Thank you!
Regards,
Lubiole

How would you hook up module solvers? Specifically incompressibleFluid and solidDisplacement

I was reading about the module solvers and how you can connect them together, but have not been able to find any examples.

I have successfully set up and run a incompressibleFluid simulation from the incompressibleFluid/propeller tutorial. I would like to somehow "pipe" the pressure values from the fluid simulation into the solidDisplacement solver to do stress analysis.

Bonus points if you can also point me to docs for solidDisplacement also doing rotational forces.

Some questions about cutting plane in OpenFOAM

I meet some problems when I used the funtionObjects about cuttingPlane in OpenFOAM-7. When I try to get more planes, it seems to be a memory leak (Or probably I did something wrong). And I found someone also asked the same questions on "OpenFOAM Issue Tracking" (https://bugs.openfoam.org/view.php?id=1777). I see you modified some codes about cuttingPlane in commit number 5fa3218 and 723f522. So I want to know did those codes fixed it, or my cases mistaked.

pitzDailySteady tutorial error

I have recently downloaded openfoam 11 and I am trying to run the foam tutorial for the backward facing step in the incompressibleFluid, pitzDailySteady but it is showing error. After installing OpenFOAM I ran the command 'foamRun -help' and it ran perfectly. After this I tried to create a directory within the home/openfoam with this command 'mkdir -p $FOAM_RUN' then ran the command :
'cd $FOAM_RUN
cp -r $FOAM_TUTORIALS/incompressibleFluid/pitzDailySteady .
cd pitzDailySteady
blockMesh
foamRun
paraFoam'
After this the operation completed with the message "SIMPLE solution converged in 287 iterations" then it Created temporary 'pitzDailySteady.OpenFOAM', after this I got "QStandardPaths: wrong permissions on runtime directory /run/user/1000/, 0755 instead of 0700" from here I got tons of error messages and at last gor a message saying "Segmentation fault". When i try to open paraview with the command 'paraFoam' it runs some thing but then stops and does nothing. Below I am attaching the screenshots of the errors for your reference, I kindly @OpenFOAM to guide me on how to solve this issue. Thank you.
Screenshot 2024-06-06 220948
Screenshot 2024-06-06 220904

Dynamic compilation of two coded functions fails with MPI_Recv error

Hi OpenFOAM team,

I experience a weird behavior when two coded functions are included in the controlDict. When the application is executed in parallel for the first time, functions get compiled, but the solver terminates with MPI_Recv error + MPI_ERR_TRUNCATE: message truncated. If I execute foamRun again, it starts solving. I include a minimal case to reproduce the problem.

Steps to reproduce

  • Download the case
  • Execute Allrun script

Tested environments:

  • Official openfoam/openfoam11-paraview510 docker image for MacOS
  • HPC cluster installation of OpenFOAM-11 compiled with: gcc/10.3.0, openmpi/4.1.1

OpenMPI error:
image

Minimal case:
cavity.zip

Thanks for your help,

Best
Jiri

Trouble Rotating searchableSurfaceCollection

First of all, thank y'all so much for this service you are providing. We are so grateful for all the work y'all have put into this.

The issue I'm experiencing is with rotating a searchableSurfaceCollection that consists of a single searchableBox. The code executes without errors, but the searchableSurfaceCollection does not reflect the transform below.

Additionally, the searchableBox does render as is and the searchableSurfaceCollection does not appear at all.

    ob{{ forloop.counter }} 
    {
        type searchableBox; 
        min ({{ obstacle.x_initial|mul:.3048 }} 0 {{ obstacle.z_initial|mul:.3048 }}); 
        max ({{ obstacle.x_final|mul:.3048 }} {{ obstacle.height|mul:.3048 }} {{ obstacle.z_final|mul:.3048 }});
    }
    
    rotatedOb{{ forloop.counter }}
    {
        type            searchableSurfaceCollection;
        mergeSubRegions true;
        
        copy1
        {
            surface         ob{{ forloop.counter }};
            scale           (3.0 2.0 3.0);
            transform
            {
                coordinateSystem
                {
                    type            cartesian;
                    origin          (0 0 0);
                    coordinateRotation
                    {
                        type        axesRotation
                        e1          (0.707 0 0.707);
                        e3          (-0.707 0 0.707);
                    }
                }
            }
        }
    }

drag models: WenYu and GidaspowSchillerNaumann

These two drag models (WenYu and GidaspowSchillerNaumann) seem to be exactly the same. their formulas are written slightly different but equivalent.
What's the difference between them?

GidaspowSchillerNaumann:

const volScalarField CdsRes
(
neg(Res - 1000)*24*(1.0 + 0.15*pow(Res, 0.687))/alpha2
+ pos0(Res - 1000)*0.44*Res
);
return CdsRes*pow(alpha2, -1.65);

WenYu:

const volScalarField CdsRes
(
neg(Res - 1000)*24*(1.0 + 0.15*pow(Res, 0.687))
+ pos0(Res - 1000)*0.44*Res
);
return CdsRes*pow(alpha2, -2.65);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.