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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 5 of 5
Search took 0.01 seconds.
Search: Posts Made By: mattijs
Forum: OpenFOAM Running, Solving & CFD May 29, 2008, 04:42
Replies: 24
Views: 6,195
Posted By mattijs
You could add a constructor fr

You could add a constructor from primitive to pTraits.H

http://www.cfd-online.com/OpenFOAM_Discus/icons/attachment_icon.gif pTraits.H...
Forum: OpenFOAM Running, Solving & CFD January 17, 2008, 15:45
Replies: 24
Views: 6,195
Posted By mattijs
My example was incorrect - jus

My example was incorrect - just typed it in. samplePoints is an array of points so you can't assign e.g 0.0 to it. Instead

samplePoints[0] = point(0,0,0);
Forum: OpenFOAM Running, Solving & CFD January 15, 2008, 12:57
Replies: 24
Views: 6,195
Posted By mattijs
The objectRegistry (this->db()

The objectRegistry (this->db()) is the polyMesh i.e. 'mesh' in your top-level application.

db.time() is the Time object, i.e. 'runTime' in your top-level application.

Create a pointIOField...
Forum: OpenFOAM Running, Solving & CFD January 10, 2008, 16:39
Replies: 24
Views: 6,195
Posted By mattijs
Yes. The interpolation factors

Yes. The interpolation factors (nearestVertex_, nearestVertexWeight_) are calculated once and then the interpolation always proceeds in the same order.

timeVaryingMappedFixedValueFvPatchField.C...
Forum: OpenFOAM Running, Solving & CFD January 10, 2008, 04:53
Replies: 24
Views: 6,195
Posted By mattijs
Get patchfield of e.g. p goes

Get patchfield of e.g. p goes something like

label patchI = mesh.boundaryMesh().findPatchID("myCyclicPatch");

Info<< "patchField is " << p.boundaryField()[patchI] << endl;

The...
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT -4. The time now is 22:48.