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

Blog Entries

Register Blogs Members List Search Today's Posts Mark Forums Read

Old

How to Map Fields in openFOAM using the utility

Posted April 14, 2017 at 11:32 by kindle

simple example for mapFields.

Well, try to map the channel to a smaller channel or some thing else without cyclic BC.

Quote:
Originally Posted by Alhasan View Post
Hey All,

How to use mapping fields function in openFOAM,

-say there are two different case two boxes, one big box and one small box with inlet on one side and outlet on the other side and all the other sides are walls. the small box is within the big box and it is in the right place in space.

-how do i even go about
...
New Member
Views 37 Comments 0 kindle is offline Edit Tags
Old

Extracting ParaView Data into Python Arrays

Posted April 14, 2017 at 09:00 by kindle

well, more paraview python scripting

Quote:
Originally Posted by Jeffzda View Post
Hi all,

When scripting paraview using python, how do I extract raw tuple data from a 'slice' proxy without first exporting to CSV? I used paraview.servermanager.Fetch() function to retrieve the raw data and it looks like the resulting vtk object contains it but I just can't seem to get the actual DATA! Does anyone know what I can do?

Here's what I've done so far:


>>> from paraview.simple import *
...
New Member
Views 39 Comments 0 kindle is offline Edit Tags
Old

Meaning of fvm and fvc

Posted April 14, 2017 at 05:09 by kindle

may dig in for more

Quote:
Originally Posted by JLight View Post
Hi
I am a UG student working on a solver for high Ma numbers using OpenFOAM for my final year project. I am relatively new to OpenFOAM.

While looking at the code of rhoCentralFoam i came across this line(s) which I am not able to figure out the menaing

Code:
if (!inviscid)
        {
            volScalarField k("k", thermo.Cp()*mu/Pr);
            solve
            (
...
New Member
Posted in programming, Solver
Views 40 Comments 0 kindle is offline Edit Tags
Old

average over cutting plane during runtime

Posted April 12, 2017 at 10:51 by kindle

This is a average on the cutting plane

Quote:
Originally Posted by gigilentini8 View Post
Dear FOAMers,
can you confirm me that the function object below in ControlDict is the correct and fastest way to calculate average over cutting planes in a 3D simulation during runtime?
it seems to work but I'm not 100% sure about the results...

Code:
functions
{
    cuttingplane_average
    {
        type            faceSource;
        functionObjectLibs ("libfieldFunctionObjects.so");
...
New Member
Views 37 Comments 0 kindle is offline Edit Tags
Old

fieldAverage & moving mesh

Posted April 12, 2017 at 08:58 by kindle

see through this. How they figure it out.

Quote:
Originally Posted by wyldckat View Post
Greetings Pete,

I see that you've got 2 reports on this topic:
If I understand you correctly, you want to do a plain average of the fields over the existing time snapshots?

In addition, do you mean that the average results for a dynamic mesh are acceptable for doing
...
New Member
Views 14 Comments 0 kindle is offline Edit Tags

All times are GMT -4. The time now is 17:05.