Giter Site home page Giter Site logo

Comments (14)

loumalouomega avatar loumalouomega commented on June 9, 2024 1

It could also be the utility we are using for the calculation of the normal (NormalCalculationUtils). We should confirm that we are passing through the correct function (and not the simplified ones for the simplex).

The error shown is from geometry.h itself, not the normal utilities. The normal compute the simplex only for triangles a priori.

from kratos.

rubenzorrilla avatar rubenzorrilla commented on June 9, 2024

Frankly speaking, I've never tried it...

from kratos.

loumalouomega avatar loumalouomega commented on June 9, 2024

A priori the algorithm is general, but maybe it depends on things not defined, let me check.

from kratos.

loumalouomega avatar loumalouomega commented on June 9, 2024

I just chekced and a priori there is a test for the normal of the Quad3D9, so it should work

from kratos.

loumalouomega avatar loumalouomega commented on June 9, 2024

Can you provide the geometry failing?

from kratos.

loumalouomega avatar loumalouomega commented on June 9, 2024

Can you provide the geometry failing?

In fact can you provide the whole thing, because unitNormal is computed ina set of local coordinates, maybe your input is on global coordinates.

from kratos.

jgonzalezusua avatar jgonzalezusua commented on June 9, 2024

Can you provide the geometry failing?

Do you mean the .mdpa? The problem is that quadratic conditions are not defined in master branch for the FluidDynamicsApplication, so I do not think you are not able to run it.

from kratos.

loumalouomega avatar loumalouomega commented on June 9, 2024

Can you provide the geometry failing?

Do you mean the .mdpa? The problem is that quadratic conditions are not defined in master branch for the FluidDynamicsApplication, so I do not think you are not able to run it.

The error is in geometry.h, meaning that fails in a specific geometry. Can you provide the geometry points and input to check that it is a bug or something?

from kratos.

jcotela avatar jcotela commented on June 9, 2024

As @loumalouomega is saying, from the code it looks like UnitNormal should be working for Quadrilateral3D9. I would suggest trying to find out which is the condition that is generating this error in your problem to see if there is something strange going on (is the geometry degenerate? Is it aligned in a particular way?)

from kratos.

jgonzalezusua avatar jgonzalezusua commented on June 9, 2024

As @loumalouomega is saying, from the code it looks like UnitNormal should be working for Quadrilateral3D9. I would suggest trying to find out which is the condition that is generating this error in your problem to see if there is something strange going on (is the geometry degenerate? Is it aligned in a particular way?)

Ok, I will provide the output. Referring to the geometry, it is not degenerate as I am using a structured mesh in the wall.

from kratos.

loumalouomega avatar loumalouomega commented on June 9, 2024

As @loumalouomega is saying, from the code it looks like UnitNormal should be working for Quadrilateral3D9. I would suggest trying to find out which is the condition that is generating this error in your problem to see if there is something strange going on (is the geometry degenerate? Is it aligned in a particular way?)

Ok, I will provide the output. Referring to the geometry, it is not degenerate as I am using a structured mesh in the wall.

Maybe not well defined (order of nodes in Kratos may be the issue)

from kratos.

rubenzorrilla avatar rubenzorrilla commented on June 9, 2024

It could also be the utility we are using for the calculation of the normal (NormalCalculationUtils). We should confirm that we are passing through the correct function (and not the simplified ones for the simplex).

from kratos.

jgonzalezusua avatar jgonzalezusua commented on June 9, 2024

Ok, I have found the error and there is nothing to do with the geometry. I registered the condition as it was 2 dimensional quadrilateral instead of 3d. Sorry for the inconvenience.

from kratos.

rubenzorrilla avatar rubenzorrilla commented on June 9, 2024

OK. Closing then.

from kratos.

Related Issues (20)

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.