|
[Sponsors] |
[waves2Foam] Sealevel and pd (dynamic pressure) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 26, 2014, 10:24 |
Sealevel and pd (dynamic pressure)
|
#1 |
New Member
Zaibin Lin
Join Date: May 2013
Location: Aberdeen, Scotland
Posts: 4
Rep Power: 13 |
Dear Niels,
As I tested your brilliant waves2Foam, a problem on pd in 0 file or any result files (I guess it is dynamic pressure) appears when I modify sealevel in waveProperties.input to any number except 0. It means that the pd value is fixed to [rho*g* (sealevel) + calculated pd value] and depends on the sealevel I chose so that I cannot modify the sealevel to any value I want. Besides, I re-code your setWaveField.C and set the p_[celli] = 0; however, the results of pd shows the same problem as indicated above when changing sealevel to nonzero. So can you please help me to address this problem that modifying this model to suit any sealevel? Thank you so much. Best regards, Zaibin |
|
May 26, 2014, 14:04 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hallo Zaibin,
The interFoam solver - and conseqently waveFoam - comes with a reference level for hydrostatic pressure. To compensate for this, the dynamic pressure is finite, if the still water level is not placed at 0. Are you experiencing problems, besides the offset in pd? You can always adjust the code to take a reference level different from zero. Kind regards, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
May 29, 2014, 10:50 |
RE
|
#3 | |
New Member
Zaibin Lin
Join Date: May 2013
Location: Aberdeen, Scotland
Posts: 4
Rep Power: 13 |
Quote:
That's all problem i encountered, thank you very much. And may I ask you when the waves2foam solver for foam-3.0 will be published? I appreciate that it is a very tough work for modifying original code to suit a new foam. Many thanks for your work indeed. Kind regards, Zaibin |
||
May 30, 2014, 13:52 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi Zaibin,
I have a couple of bug-reports, which I need to take care of this weekend, so I hope that I will also be able to push a version of waveFoam for foam-extend into that work. Have a nice weekend, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
|
|