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

Reach p from fvmotionsolver

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 9, 2009, 06: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, 06:26
Default Hello Erik, A good day to y
  #2
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
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, 07: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, 07:43
Default Hi Erik, Eric here ;-) Can
  #4
Member
 
lillberg's Avatar
 
Eric Lillberg
Join Date: Mar 2009
Location: Stockholm
Posts: 80
Rep Power: 17
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, 08: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, 09: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: 17
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, 09: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, 09:46
Default Hello again Erik, I was goi
  #8
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
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, 10: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, 16: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: 17
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to reach steady state solution Sally FLUENT 11 July 27, 2018 08:01
How do I reach internal boundaries in posdat? Ragnar B Siemens 2 January 30, 2009 14:33
Struggling to reach a stable solution andrewburns OpenFOAM Running, Solving & CFD 8 January 22, 2008 03:23
Possible bug in fvMotionSolver derived fixedValuePointPatchField jaswi OpenFOAM Bugs 1 August 22, 2007 09:41
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:44.