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

SurfaceElevation problem with dynamic mesh.

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By blaise

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 2, 2014, 11:07
Default SurfaceElevation problem with dynamic mesh.
  #1
New Member
 
Michele Righi
Join Date: Feb 2014
Location: Pisa
Posts: 5
Rep Power: 12
Michele Righi is on a distinguished road
Hi, I have a problem with the surfaceElevation functionObject of the waves2Foam library. It doesn't work with dynamic mesh, for example with the waveDyMFoam solver. The error is:

--> FOAM FATAL ERROR:
Unknown function type surfaceElevation

I've tried a lot of things but none work, could someone help me please?

Thank you!

Michele
Michele Righi is offline   Reply With Quote

Old   June 27, 2018, 04:48
Default
  #2
Member
 
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 83
Rep Power: 17
blaise is on a distinguished road
Hi Michele,

did you solve that problem? I just stumbled over it myself and could not figure out a solution yet.

Thanks,

Pascal.
--
blaise is offline   Reply With Quote

Old   June 27, 2018, 05:55
Default
  #3
New Member
 
Michele Righi
Join Date: Feb 2014
Location: Pisa
Posts: 5
Rep Power: 12
Michele Righi is on a distinguished road
Hi, no sorry I didn't solve the problem..good luck!
Michele Righi is offline   Reply With Quote

Old   June 27, 2018, 08:42
Default
  #4
Member
 
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 83
Rep Power: 17
blaise is on a distinguished road
Hi Michele,

I was to quick with asking, and the solution is in fact rather simple (haha, once you know, it is easy to say ;-)). Just in case you are still interested: One needs to insert the library to be used in the controlDict:

Code:
... controlDict stuff...

libs
(
"libwaves2FoamSampling.so"
);
Then the sampling functions are known to waveDyMFoam, and you can sample the wave heights even there.

Cheers,

Pascal.
--
guin, Ngaru and PC6823 like this.
blaise is offline   Reply With Quote

Reply

Tags
dynamic mesh, function object, surfaceelevation, waves2foam


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
dynamic mesh for multi-region problem alundilong OpenFOAM Programming & Development 6 June 5, 2023 20:13
Update of the variables after dynamic mesh motion. gtg258f OpenFOAM Programming & Development 9 January 18, 2014 11:08
problem on dynamic mesh zone erkan FLUENT 2 January 8, 2009 17:01
CFD-3D flow problem using Dynamic mesh method. Sar_mech FLUENT 1 November 27, 2008 22:17
Dynamic Mesh Problem - please help! Hila FLUENT 0 August 19, 2006 05:19


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