CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Accessing the motionU matrix in OF ver 14

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 16, 2007, 14:03
Default Hello, I recently upgraded
  #1
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 530
Rep Power: 16
philippose will become famous soon enough
Hello,

I recently upgraded to OpenFOAM ver.1.4, but noticed that the tetDecompositionMotionSolver does not exist anymore. (I had read that this was being replaced by the finite Volume based motion solvers "fvMotionSolver")

In the tutorial for "icoDyMFoam", the changes required seem to be quite trivial....I did not see any change to the icoDyMFoam solver itself.

My question is, now that "tetPointVectorField" does not exist anymore, what can I do to modify the motionU matrix? Will it be a "volVectorField" like the velocity matrix?

And also, do I need to include any new header files or libraries when compiling a solver which needs to modify the motionU matrix? Or can I just remove the "tetFemMatrices.H" and "tetPointFields.H" and redefine the motionU matrix as a "volVectorField"?

The other question is.... in the tutorial, there are two files in the "0" folder... "pointMotionUx" and "cellMotionUx", which are of type "pointScalarField" and "volScalarField" (I assume they are scalars because they only define the "X" direction of the velocity).

Both the files have exactly the same boundary conditions.... What was the intention of having a separate file for the point motion and for the cell motion? Do I always need to define both these files?

Is it right, that when I have a 3D case, these files would be "pointMotionU" and "cellMotionU", with "pointVectorField" and "volVectorField" as the types?

I am sorry if that was an overload of questions :-)! Just thought I should get the solver I have been working on (turbForceFoam) working in the latest version of OpenFOAM.

Have a nice day!

Philippose
philippose is offline   Reply With Quote

Old   April 16, 2007, 16:53
Default I'm not sure why this would ge
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
I'm not sure why this would get removed - probably because noone at OpenCFD could support it (they had nothing to do with it + the copyright does not belong to them). In any case, the cell-based diffusion equation which "replaces it" is so pathetically useless that I have abandoned it more than 10 years ago in 1996. Since all of the tet decomposition mesh motion is a perfectly working code and necessary for anything but trivial mesh motion (e.g. engines), I will sort out the updates when the work gets re-based. This will also include all the mesh motion bug fixes that may or may not have made it.

In the meantime I would suggest sticking with the updated 1.3 version for another week or two.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   April 16, 2007, 18:16
Default Hello Hrv, Well :-) Must sa
  #3
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 530
Rep Power: 16
philippose will become famous soon enough
Hello Hrv,

Well :-) Must say... that was not the reply I was expecting to see :-)! But interesting nevertheless!

Just to confirm whether I have really understood what you meant.... do you mean to say, that the following statement in the OpenFOAM 1.4 release notes:

"- Flexible and efficient finite volume based mesh motion solvers (replacing the finite element mesh motion solvers)."

is not necessarily true in all cases? Or to put it in another manner... the tetDecompositionMotionSolver which works on the concept of a hybrid FEM / FVM technique is better than the "fvMotionSolvers" in the current version 1.4?

In that case, maybe I should wait for your next release before jumping in to converting my code to work with OpenFOAM 1.4.

I guess in the meantime I can continue using the latest Development release of OF 1.3 you made available a week ago.

Would you be interested in telling me why the FEM method is better than the method used in OF 1.4 or would that be me once again sticking my neck into too much theory :-)!?

Thanks for your response and have a nice day!

Regards,

Philippose
philippose is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Addressing matrix element and reuse of system matrix marziolettich OpenFOAM Running, Solving & CFD 2 February 19, 2008 06:04
Modifying motionU in the development version philippose OpenFOAM Running, Solving & CFD 8 February 1, 2007 16:25
UDF help on accessing values shashikant FLUENT 0 December 22, 2005 10:41
Accessing C_DUDX CC FLUENT 0 June 30, 2005 04:54
Elemtary matrix to CSR global matrix xueying Main CFD Forum 2 September 24, 2002 09:44


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