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

Reach p from fvmotionsolver

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 9, 2009, 07:16
Default Dear Foamers, I'm trying add
  #1
erik023
Guest
 
Posts: n/a
Dear Foamers,
I'm trying add to the displacementLaplacianFvMotionSolver a calculation of the pressure forces which i later like to add to the as motion on the mesh. Due to my poor knowledge in C++ i can not find a way to extract the p-field. i have been looking at the objectregistry, but how to implement this?
i would be thankful for your help
Erik
  Reply With Quote

Old   January 9, 2009, 07:26
Default Hello Erik, A good day to y
  #2
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 530
Rep Power: 16
philippose will become famous soon enough
Hello Erik,

A good day to you :-)!

For a starter on what you are trying to do, go to the search function of this discussion board, and look for "simpleForceFoam"....

The first result you get will take you to a thread which I had started quite some time ago, when I was implementing exactly what you are trying...

There are versions of the solver I wrote available for download on the thread too....

I am sure you will get most of what you want there.

Have a nice day!

Philippose
philippose is offline   Reply With Quote

Old   January 9, 2009, 08:36
Default my bad, tha last one should wo
  #3
erik023
Guest
 
Posts: n/a
my bad, tha last one should work do get the field, and it is for me right now.
however i'm still very interested in the answer to the question on where (if it matters) to put the mesh motion.
thank you
Erik
  Reply With Quote

Old   January 9, 2009, 08:43
Default Hi Erik, Eric here ;-) Can
  #4
Member
 
lillberg's Avatar
 
Eric Lillberg
Join Date: Mar 2009
Location: Stockholm
Posts: 80
Rep Power: 8
lillberg is on a distinguished road
Send a message via Skype™ to lillberg
Hi Erik, Eric here ;-)

Can you explain what you need to do in terms of physics and we might be able to help you better, most meshmotion and FSI implementations has most likely already been done somewhere by someone.

BR

/Eric
lillberg is offline   Reply With Quote

Old   January 9, 2009, 09:11
Default Hi Eric! brilliant, i'll give
  #5
erik023
Guest
 
Posts: n/a
Hi Eric!
brilliant, i'll give it a shot!

what i'am looking to do is implement a 3-DOF/6-DOF solver. i have been rewriting the interDymFoam with the aid of the work that Philippose Rajan have done, and which he refered above. this has been very useful. so basicly i like to solve the ODE's for 3/6-DOF and use the OF-library to implement this. for the course i'm doing at Chalmers (Gothenburg), i like to use the septernion/quaternion classes to transform the points with. i found, when working in the solver that i ran into problems with the gamma and the interface, it crashed.
now i think i have reached a point where i have at least to just calculated the forces and then apply this to the mesh, but maybe you can forecast problem which i can not see right now.
thank you for your help!
Erik
  Reply With Quote

Old   January 9, 2009, 10:25
Default Have you had a look at the 6-d
  #6
Member
 
lillberg's Avatar
 
Eric Lillberg
Join Date: Mar 2009
Location: Stockholm
Posts: 80
Rep Power: 8
lillberg is on a distinguished road
Send a message via Skype™ to lillberg
Have you had a look at the 6-dof implementation in the dev version by Hrv.

/E
lillberg is offline   Reply With Quote

Old   January 9, 2009, 10:30
Default nope, is it possible to find t
  #7
erik023
Guest
 
Posts: n/a
nope, is it possible to find this online?
it would be most interesting!
Erik
  Reply With Quote

Old   January 9, 2009, 10:46
Default Hello again Erik, I was goi
  #8
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 530
Rep Power: 16
philippose will become famous soon enough
Hello again Erik,

I was going to inform you about the 6-dof solver present in the dev version too :-)!

Basically, The 1.5-dev version has a library for 6-dof motion which works with quaternions, along with a couple of examples (present in the tutorials folder).

This version can be found at the following link:

http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/release/

A pre-compiled version is not yet available, so you will have to compile it yourself.

Have a nice day!

Philippose
philippose is offline   Reply With Quote

Old   January 9, 2009, 11:06
Default no worries http://www.cfd-onli
  #9
erik023
Guest
 
Posts: n/a
no worries
thank you for your help!

i will try to compile this as soon as i get on my own computer, in any case i should be able to get some good ideas!

brilliant!
same to you, and a good WE!

Erik
  Reply With Quote

Old   January 11, 2009, 17:13
Default Hi Erik, Have a look at the
  #10
Member
 
lillberg's Avatar
 
Eric Lillberg
Join Date: Mar 2009
Location: Stockholm
Posts: 80
Rep Power: 8
lillberg is on a distinguished road
Send a message via Skype™ to lillberg
Hi Erik,

Have a look at the SDA and SKA solidBodyMotionFunctions in the standard 1.5.x version, ~/OpenFOAM/OpenFOAM-1.5.x/src/dynamicFvMesh/solidBodyMotionFvMesh

/Eric
lillberg 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
How do I reach internal boundaries in posdat? Ragnar B CD-adapco 2 January 30, 2009 15:33
Struggling to reach a stable solution andrewburns OpenFOAM Running, Solving & CFD 8 January 22, 2008 04:23
Possible bug in fvMotionSolver derived fixedValuePointPatchField jaswi OpenFOAM Bugs 1 August 22, 2007 09:41
How to reach steady state solution Sally FLUENT 10 June 14, 2007 09:26
Intermittent Problems to Reach CFD Online? Jonas Larsson Main CFD Forum 4 May 28, 2006 16:26


All times are GMT -4. The time now is 21:16.