CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[IHFOAM] The IHFOAM Thread

Register Blogs Community New Posts Updated Threads Search

Like Tree57Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 4, 2016, 06:35
Default reading wave velocity and wave elevation from a file
  #181
New Member
 
nirbhay tiwary
Join Date: Aug 2015
Posts: 24
Rep Power: 10
nctiwary is on a distinguished road
Hi Pablo,
I want to generate wave by reading a file containing velocities and wave elevation, instead of computing through expression.I have written a program which reads the file and giving velocities and elevation at different time steps and depths.
I am not able to use it into the IhFoam.please help
nctiwary is offline   Reply With Quote

Old   January 6, 2016, 22:11
Default adding a new wave function
  #182
New Member
 
nirbhay tiwary
Join Date: Aug 2015
Posts: 24
Rep Power: 10
nctiwary is on a distinguished road
hi pablo,
I want to add a new wave function in ihFoam.I tried to do so but while compiling it gives me "compilation error".
please help.
with regards
Nirbhay
nctiwary is offline   Reply With Quote

Old   January 18, 2016, 04:33
Default case setup for computing wave for on a cylinder in a wave tank in regular waves
  #183
New Member
 
nirbhay tiwary
Join Date: Aug 2015
Posts: 24
Rep Power: 10
nctiwary is on a distinguished road
hello all
can any on provide me a case setup for computing wave force on a vertical cylinder in a wave tank in regular waves??i need this for validation of my experimental results.
with regards
nirbhay

Last edited by nctiwary; January 19, 2016 at 09:40.
nctiwary is offline   Reply With Quote

Old   January 18, 2016, 04:34
Default Incorporation for a new wave theory in Ihfoam
  #184
New Member
 
nirbhay tiwary
Join Date: Aug 2015
Posts: 24
Rep Power: 10
nctiwary is on a distinguished road
hello all,
how can we add a new wave theory in Ihfoam??please provide me the set by step procedure to do so.
with regards
nirbhay
nctiwary is offline   Reply With Quote

Old   January 19, 2016, 09:10
Default
  #185
New Member
 
Agnese Paci
Join Date: May 2015
Location: Bologna, Italy
Posts: 14
Rep Power: 10
agnip is on a distinguished road
hi,
do you need a floating or fixed cylinder?

agnese

Quote:
Originally Posted by nctiwary View Post
hello all
can any on provide me a case setup for computing wave for on a cylinder in a wave tank in regular waves??i need this for validation of my experimental results.
with regards
nirbhay
agnip is offline   Reply With Quote

Old   January 19, 2016, 09:36
Default
  #186
New Member
 
nirbhay tiwary
Join Date: Aug 2015
Posts: 24
Rep Power: 10
nctiwary is on a distinguished road
Quote:
Originally Posted by agnip View Post
hi,
do you need a floating or fixed cylinder?

agnese
hello Agnese Paci,
thanks for quick your reply.I need a fixed cylinder.
thank u once again for your response my frnd.
with regards
Nirbhay
nctiwary is offline   Reply With Quote

Old   January 19, 2016, 09:41
Default
  #187
New Member
 
Agnese Paci
Join Date: May 2015
Location: Bologna, Italy
Posts: 14
Rep Power: 10
agnip is on a distinguished road
I'm working on floating bodies, I'm sorry, I cannot be useful for you!
kind regards




Quote:
Originally Posted by nctiwary View Post
hello Agnese Paci,
thanks for quick your reply.I need a fixed cylinder.
thank u once again for your response my frnd.
with regards
Nirbhay
agnip is offline   Reply With Quote

Old   January 19, 2016, 09:53
Default
  #188
New Member
 
nirbhay tiwary
Join Date: Aug 2015
Posts: 24
Rep Power: 10
nctiwary is on a distinguished road
Quote:
Originally Posted by agnip View Post
I'm working on floating bodies, I'm sorry, I cannot be useful for you!
kind regards
if u have a floating one pls provide me the same........i will make changes in the boundary condn in the same.
with regards
nirbhay
nctiwary is offline   Reply With Quote

Old   January 27, 2016, 09:51
Default problem with ihDyMFoam
  #189
Member
 
vincent
Join Date: Apr 2011
Posts: 45
Rep Power: 15
vince_44 is on a distinguished road
Dear all

I'm trying to use ihDyMFoam to simulate seakeeping. My geomtry is a crew boat (L=19m). I use stokeII for wave theory. The wave period is 4,8s. Under 1.35m wave height, there is no problem but when I increase the height my simulation crash.

Have you any idea to help me?

I join the IHWaveDict

Best regard
Attached Files
File Type: txt IHWavesDict.txt (1.0 KB, 17 views)
vince_44 is offline   Reply With Quote

Old   January 30, 2016, 03:30
Default
  #190
New Member
 
Agnese Paci
Join Date: May 2015
Location: Bologna, Italy
Posts: 14
Rep Power: 10
agnip is on a distinguished road
floating_cylinder_AP.zip
this is one of my implemented models... the geometry is significantly simplified.
as I said to you, my cylinder is floating, but if you change BC and dynamicMeshDict it should be ready for you study case.
hope this can help you

Agnese

Quote:
Originally Posted by nctiwary View Post
if u have a floating one pls provide me the same........i will make changes in the boundary condn in the same.
with regards
nirbhay
mo_na likes this.
agnip is offline   Reply With Quote

Old   February 1, 2016, 23:04
Default
  #191
Member
 
Zhifang Hu
Join Date: Sep 2015
Location: Brisbane
Posts: 54
Rep Power: 10
ce73stargazer is on a distinguished road
Hi there

I am new to IHFoam, I am just wondering if there is anyway to output the water level elevation after the simulation.

I tried the wave flume simulation, however i am not sure how to output the water level elevation changes. Is there any suggestion?
ce73stargazer is offline   Reply With Quote

Old   February 3, 2016, 15:56
Default OpenFoam or IHFoam
  #192
New Member
 
Anna
Join Date: Jan 2016
Posts: 21
Rep Power: 10
Anna.Mozhgani is on a distinguished road
Dear Pablo
First I want to appreciate your hard work. I have some question about these software. I have a question regarding to modelling of the flap energy converter. It contains a rectangular box locating at the bottom of the sea and rotating about its bottom fixed axis. The coupling motion of this flap and wave is our main problem and also the free surface of the water is a focal point.

In the other thesis we try to model a breakwater.It contains a rectangular box locating on the surface of the sea and waves make this box to have heave motion. The coupling motion of this box with wave is our main problem and also the free surface of the water is important.

The question is whether it is possible to model such a problem with OpenFoam or IHFoam?
which solver can solve this problem?
My email address is zahra.mozhgani@aut.ac.ir.
I appreciate your kindness in advance.
Best Regards
Zahra
Anna.Mozhgani is offline   Reply With Quote

Old   February 3, 2016, 22:55
Default
  #193
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Zhifang, it is certainly possible, from free surface gauges to isosurfaces or even using paraview. Just do a quick search in this forum and you will find it easily.

Hi Anna, I see no reason why IHFOAM/OpenFOAM will not be capable of simulating either. It might not be straightforward and require programming, but that is what a PhD is all about...

Best,

Pablo
Phicau is offline   Reply With Quote

Old   February 4, 2016, 01:47
Default
  #194
Member
 
Zhifang Hu
Join Date: Sep 2015
Location: Brisbane
Posts: 54
Rep Power: 10
ce73stargazer is on a distinguished road
Hi

Thanks for the reply, i've been playing with IHFoam lately and i found its not really working properly, i dont know why.

I modify the basic wave flume case, with a total depth of 300 m and total length of 1500 m, and still keep the cnodial wave, however change the wave height to 5 m and period to 10 s, which makes it still stay inside the linear wave theory region. However, after i run the simulation, it surely not doing the right thing.

The attachment is a screenshot from paraview, the water depth is 200 m, the air above is 100 m, however you can see it's really doing crazy stuff, the water is getting outside the boundary. Any suggestion of why.
Attached Images
File Type: jpg Screenshot from 2016-02-04 16:38:52.jpg (69.9 KB, 49 views)
ce73stargazer is offline   Reply With Quote

Old   February 7, 2016, 23:26
Default
  #195
Member
 
Zhifang Hu
Join Date: Sep 2015
Location: Brisbane
Posts: 54
Rep Power: 10
ce73stargazer is on a distinguished road
Anyone please help. I feel really frustrating now.

I dont know if its because of the version of OpenFoam i using or what, it just seems that, it doesnt matter what i do to modify the waveflume case. The outlet boundary condition will not work, and the water just keep on filling the whole system.

For instance, even if i just change the depth of the wave flume to 1 m instead of 0.7 m and keep the depth of water and the rest the same, the case doesnt work.

I am using OpenFOAM 2.4.0, and running the cases in tutorial folder OP230_240.

Any suggestion?
ce73stargazer is offline   Reply With Quote

Old   February 10, 2016, 09:26
Default
  #196
New Member
 
Diogo R.C.B. Neves
Join Date: Aug 2014
Posts: 16
Rep Power: 11
dneves is on a distinguished road
Hi Pablo,

I am testing the ihFoam and ihDyMFoam for OF300, for the ihFoam everything works fine but for the ihDyFoam I am experiencing some problems...do you know if it is working properly?

the error is:

diogo@diogo-Easynote-ENTF71BM:~/IHFOAM/tutorials/OF300/pistonFlume$ ./runCase
blockMesh meshing...
Preparing 0 folder...
Setting the fields...
Running...


--> FOAM FATAL IO ERROR:
Unknown patchField type IH_Waves_MultiPistonMovement for patch type patch

Valid patchField types are :

30
(
angularOscillatingDisplacement
angularOscillatingVelocity
calculated
codedFixedValue
cyclic
cyclicACMI
cyclicAMI
cyclicSlip
empty
fixedNormalSlip
fixedValue
nonuniformTransformCyclic
oscillatingDisplacement
oscillatingVelocity
processor
processorCyclic
slip
solidBodyMotionDisplacement
surfaceDisplacement
surfaceSlipDisplacement
symmetry
symmetryPlane
timeVaryingMappedFixedValue
timeVaryingUniformFixedValue
uniformFixedValue
uniformInterpolatedDisplacement
value
waveDisplacement
wedge
zeroGradient
)


file: /home/diogo/IHFOAM/tutorials/OF300/pistonFlume/0/pointDisplacement.boundaryField.outlet from line 35 to line 37.

From function PointPatchField<Type>::New(const pointPatch&, const Field<Type>&, const dictionary&)
in file /home/openfoam/OpenFOAM/OpenFOAM-3.0.1/src/OpenFOAM/lnInclude/pointPatchFieldNew.C at line 151.

FOAM exiting

Thank you for your attention and best regards,

I have acknowledge your work!

Diogo
dneves is offline   Reply With Quote

Old   February 11, 2016, 00:29
Default
  #197
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Diogo,

although I didn't advertise it, I have included the moving boundary wave generation capabilities in my code. However, I have not yet integrated them in the one-click compilation script.

You need to compile the BC:

cd genAbs/waveGeneration/IH_Waves_MultiPistonMovement

./localMake


And then ihDyMFoam should be aware of it.

Best,

Pablo
Phicau is offline   Reply With Quote

Old   February 11, 2016, 06:14
Default thank you ihDyFoam works perfectly
  #198
New Member
 
Diogo R.C.B. Neves
Join Date: Aug 2014
Posts: 16
Rep Power: 11
dneves is on a distinguished road
Thank you for your quick answer.

It is working perfectly fine

best regards!

Diogo
dneves is offline   Reply With Quote

Old   February 16, 2016, 10:50
Default force on vertical fixed cylinder
  #199
New Member
 
nirbhay tiwary
Join Date: Aug 2015
Posts: 24
Rep Power: 10
nctiwary is on a distinguished road
hi Pablo,
I am using IHFOAM to calculate the force on a verical cylinder under waves.I have imported my msh file from ansys fluent.Everything works fine but when i am trying to run the solver(IHFOAM) after some iteration it shows a Floating point exception (core dumped) error.Can u pls help me in finding the problem in my case set up.I am attaching my case set with this.

https://www.dropbox.com/s/z5gdxy94zn...er.tar.gz?dl=0
nctiwary is offline   Reply With Quote

Old   February 17, 2016, 03:52
Default
  #200
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Nirbhay,

the problem is the mesh, it is not good enough.

Best,

Pablo
Phicau is offline   Reply With Quote

Reply


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
Divergence detected in AMG solver: k when udf loaded google9002 Fluent UDF and Scheme Programming 3 November 7, 2019 23:34
udf problem jane Fluent UDF and Scheme Programming 37 February 20, 2018 04:17
UDF velocity profile willroca Fluent UDF and Scheme Programming 2 January 10, 2016 03:13
Error messages atg enGrid 7 August 30, 2013 11:16
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 14:37


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