Giter VIP home page Giter VIP logo

basicopenfoamprogrammingtutorials's People

Contributors

ancolli avatar cbcoutinho avatar makish avatar ramkumar47 avatar unnamedmoose avatar

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  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  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  avatar  avatar  avatar  avatar  avatar  avatar

basicopenfoamprogrammingtutorials's Issues

OFtutorial05_basicParallelComputing update request

Could you elaborate also on how to consolidate/process lists across multiple processes.

I have to work a lot with matrix sections e.g. conversion of lower in COO format for further processing but am getting stuck e.g. with the local addressing at processor level when the case is decomposed.

Where are the global addresses?

I would appreciate if you could shed some light on that.

Typo in tutorial 4 line 113

In the tutorial 4, line 113:

112         // In Python, this is equivalent to:
113         // np.sqrt(np.sum(x0-x)**2)

There is a typo in the comment, because the python expression computes the square root of the square of the sum that is the sum itself. Instead, we should calculate the square root of the sum of squares, it must changed to:
113 // np.sqrt(np.sum((x0-x)**2)) << by adding paraenthesis inside sum function

[Suggestion]The value of pi

Suggestion:
Instead of defining Pi using:
#define PI_ 3.1415......
It is more convenient to use OpenFOAM constants:
scalar PI_ = Foam::constant::mathematical::pi

OFtutorial12_momentumSource

An error is produced for OpenFOAM v2106 as follows:

customActuationDiskSource.H:73:10: fatal error: fvModel.H: No such file or directory
73 | #include "fvModel.H"

An error is produced for OpenFOAM 9 :
wmakeLnInclude error: base directory /opt/openfoam9/src/fvOptions/ does not exist

I'm not sure how I can get this tutorial to compile. I have added fvModel.H directly into the directory, but then it needs fvModelM.H. I feel like it should be able to find this header file but just isn't?

Foam Fatal IO Error (attempt to read beyond EOF)

I compiled your interpolation scheme successfully, but when I'm trying to use it with my mesh (1D mesh with 150 cells) I got a fatal error saying that 'attempt to read beyond EOF'. Did you experienced something similar with your code when using other mesh then the one in your test case? Im using the openFOAM.com distribution v2012.

guidance for custom interpolation function

Hi Artur!
I am ur fan Ramkumar, hope u remember me.
I am on a new tutorial now and for that i need some guidance on compiling a custom interpolation function that i can use on fvSchemes file. could u plz guide me to a simple example or a set of instructions on compiling one?.. a simple example will do and i believe i can build up on that.. and u know to whom i am making the tutorial for :) ... could u plz guide me on this?

new simple solver code to tutorials collection

Hi,
first of all.. its an excellent job from u.. it helped me a lot to learn OpenFOAM C++.. i am also like u, a self-taught person..
by the way, using the knowledge gained from ur tutorials, i have created a simple solver code, that solves wave equation.
i felt like it would be much useful for new coders and would like to add it to ur collection..
is it possible to do so?

Request for an advanced tutorial 5b about OF parallel computations

Hello Artur,

this is a request for an additional tutorial diving deeper into parallel computations. It's a bid related to your comment in tutorial 5 "// Custom reduction operations are easy to implement but need fluency in // object-oriented programming in OpenFOAM, so we'll skip this for now."

What I want to gain from such a tutorial is an idea about how to link/integrate computations of n specific processes (NOT ALL THE PROCESSES) which are offloaded to n GPUs?

It's really about the integration with the OF standard functionality, not about how offloading computations to the GPU works. E.g. if there are 4 CPU MPI processes, CPU processes p0 (master), p1, p2, p3 where p2 <-> offloads computations to GPU0 and p3 <-> offloads computations to GPU1. Relevant operations are processor interface updates after mv multiplications and global communications when computing the norm, alpha and beta depending on relevant BLAS operations.

Thanks for your tutorials!

Klaus

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.