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 8 of 8
Search took 0.00 seconds.
Search: Posts Made By: hjasak
Forum: OpenFOAM Running, Solving & CFD September 7, 2006, 08:30
Replies: 18
Views: 3,053
Posted By hjasak
Hehe, Try using: pos(tet

Hehe,

Try using:

pos(tetMesh.boundary()[movingWallPatchID].localPoints().component(vector::Y))

The first bit takes the y-component of point position and returns it as a scalar field. ...
Forum: OpenFOAM Running, Solving & CFD September 6, 2006, 18:00
Replies: 18
Views: 3,053
Posted By hjasak
Hi, tetPointVectorField&

Hi,


tetPointVectorField& motion = const_cast<tetpointvectorfield&>
(
mesh.objectRegistry::lookupObject<tetpointvectorfield>("motionU")
);

Fine. All you need then is to throw away...
Forum: OpenFOAM Running, Solving & CFD August 6, 2006, 14:25
Replies: 18
Views: 3,053
Posted By hjasak
Try double equals (==) - I bet

Try double equals (==) - I bet you are forcing assignment on a fixed value patch.

Hrv
Forum: OpenFOAM Running, Solving & CFD August 6, 2006, 11:18
Replies: 18
Views: 3,053
Posted By hjasak
Hi, The symbol you need is

Hi,

The symbol you need is defined in the tetDecompositionFiniteElement library, but you have to be csareful regarding the face and cell decompisition. In Make/options you need to have 2...
Forum: OpenFOAM Running, Solving & CFD June 13, 2006, 09:27
Replies: 18
Views: 3,053
Posted By hjasak
You can then case you motionSo

You can then case you motionSolver pointer into tetDecompositionMotionSolver and call the function. Anyway, I prefer the database trick: this is why we had it in the first place.

Hrv
Forum: OpenFOAM Running, Solving & CFD June 13, 2006, 09:20
Replies: 18
Views: 3,053
Posted By hjasak
You are a bad boy - this is pr

You are a bad boy - this is precisely what I don't like. Now, if I move the mesh by simple geometrical motion I need to lie in virtual functions.

Bad boy, bad boy....

Hrv
Forum: OpenFOAM Running, Solving & CFD June 13, 2006, 09:14
Replies: 18
Views: 3,053
Posted By hjasak
Nope. The virtual base class

Nope. The virtual base class also supports various other kinds of mesh motion that do not involve my tet decomposition FEM motion solver. Therefore, it is possible to move the mesh without having...
Forum: OpenFOAM Running, Solving & CFD June 13, 2006, 01:39
Replies: 18
Views: 3,053
Posted By hjasak
Look it up from the database,

Look it up from the database, e.g.

tetPointVectorField& motionU =
const_cast<tetpointvectorfield&>
(
mesh.objectRegistry::lookupObject<tetpointvectorfield> ...
Showing results 1 to 8 of 8

 
Forum Jump

All times are GMT -4. The time now is 07:54.