Git Product home page Git Product logo

Comments (1)

AndreWeiner avatar AndreWeiner commented on July 20, 2024

Why do you need to compute the tangential component for the velocity? In a co-moving reference frame in the quasi-stationary state, the normal component of the velocity field should be (close to) zero anyway.

The ML model returns the tangential component of the velocity vector for a given polar angle. The normal component of the velocity is indeed zero. The velocity vector at the boundary has the length returned by the ML model and points in the direction tangential to the surface. Tangential is here defined as the cross product between the plane normal vector (see below) and the surface normal vector.

Elaborate on the definition of normal_. What normal is this precisely?

normal_ is what I call plane normal vector. Imagine a Cartesian coordinate system x,y,z. In all the test cases in this repository, the wedge mesh extends in the x-y-plane and is symmetric with respect to z=0. So the plane normal would be the z-axis.

Why are origin_, axis_, and normal_ required in general. Please add a comment.

origin and axis are not really necessary for the test cases in this repository. To compute the polar angle, the position vector of a face on the boundary must be given in a coordinate system that has its origin in the bubble's center of mass. If the origin of the mesh is not identical with the bubble's center of mass, or if the coordinate system is rotated, origin and axis are used to move or rotate the coordinate system.

Give a short description of what a torch::Tensor is as a comment.

Automatically differentiable, efficient CPU and GPU enabled tensors. source

from phd_openfoam.

Related Issues (7)

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.