CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Blog Entries

Register Blogs Community New Posts Updated Threads Search

Old

Accessing internal field and mesh from within boundary condition

Posted August 6, 2016 at 07:00 by kaifu

very useful.
Quote:
Originally Posted by mchurchf View Post
Thank you all for your help,

I was able to implement my boundary condition as well. I used the following code to access the internal velocity field and the mesh two layers of cells inward from the boundary:

Code:
//  Set up access to the internal velocity field and mesh
    const volVectorField& U =
        db().objectRegistry::lookupObject<volVectorField>(UName_);
    const fvMesh& mesh = patch().boundaryMesh().mesh();
...
Member
Posted in Uncategorized
Views 1004 Comments 0 kaifu is offline Edit Tags
Old

How to calculate the polynomial coefficients of any arbitrary polynomial to fit data

Posted August 1, 2016 at 08:06 by Tobi

Dear all,

if you are interested in the calculation of polynomial coefficients to fit some data, you can check the method of least squares on my homepage. Here I explained everything in detail and also gave an example how to build the matrix A and the solution vector b for the problem we are discussing there. The polynomial that I am using in the example is:

\ln(\mu) = A + B \ln(T) + C\ln(T)^2 + D \ln(T)^3

How to build the matrix A and the solution vector...
Tobi's Avatar
Super Moderator
Posted in Uncategorized
Views 1650 Comments 0 Tobi is offline Edit Tags
Old

Parallel installation incorrectly compiled

Posted July 23, 2016 at 11:35 by ACGray

Problem solved, turns out I had both OpenMPI and MPICH installed which I think was throwing off the mpirun command, uninstalled both, reinstalled MPICH 3.2 and then SU2 and everything now seems to be working fine!
New Member
Posted in Uncategorized
Views 719 Comments 0 ACGray is offline Edit Tags
Old

Hello Everyone

Posted July 23, 2016 at 09:24 by sainikmohan

Dear All
I am an experimental person, learning FEM and its software on my own. I wish to develop a program in Java for solidification analysis of castings. This is the purpose of joining this forum. Hope your support will be extended.
Thanks
New Member
Posted in Uncategorized
Views 744 Comments 0 sainikmohan is offline Edit Tags
Old

11th community OpenFOAM Workshop: finally managed to attend one of these! Part 3

Posted July 3, 2016 at 12:43 by wyldckat

This is the third part of a long blog post, see the first part here and the second here.

On the 30th:
  • I arrived at around 08h10, had to meet+talk with Miguel Nóbrega to see how the clinics sessions were going to be organized.
  • The first (and only) lecture was given by Fred Mendonça, with the title "Custodians of OpenFOAM®".
    • He told us about his career experience. In a nutshell: a lot of experience, both CFD and business/management!
    • Told us and showed us a map
...
Retired Super Moderator
Posted in Rantings
Views 3536 Comments 0 wyldckat is offline Edit Tags

All times are GMT -4. The time now is 04:53.