CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

[Waves2foam] alpha1 file

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

LinkBack Thread Tools Display Modes
Old   March 18, 2014, 18:35
Default [Waves2foam] alpha1 file
New Member
Join Date: Aug 2013
Posts: 10
Rep Power: 5
Ellie is on a distinguished road
Hi Foamers,

I am working on the Waves2foam package, and trying to add an (floating) object inside the geometry of the standingwave case using snappyHexMesh. Then I met a few problems. One problem that I am dealing with is as below.

I want to modify the 'alpha1' file to increase the size of the internalField due to the result of snappyhexMesh, but i have no idea what's the rule for creating an alpha file or if it can be created automatically. Is there anyone who can help? Thanks in advance.


Reading g

Reading waveProperties
Reading field p_rgh

Reading field alpha1

size 400000 is not equal to the given value of 1547000

file: /home/fgong/OpenFOAM/OpenFOAM-2.1.1/applications/utilities/waves2Foam/tutorials/waveFoam/motorBikeWavePractice/0/alpha1 from line 18 to line 400556.

    From function Field<Type>::Field(const word& keyword, const dictionary&, const label)
    in file /home/fgong/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/Field.C at line 236.

FOAM exiting
Ellie is offline   Reply With Quote

Old   March 19, 2014, 15:56
New Member
Join Date: Aug 2013
Posts: 10
Rep Power: 5
Ellie is on a distinguished road
It's lucky that I already know what's the problem and solution.
Ellie is offline   Reply With Quote


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
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41
Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit OpenFOAM Paraview & paraFoam 60 September 18, 2013 03:23
swak4Foam-groovyBC build problem zxj160 OpenFOAM 18 July 30, 2013 13:14
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46

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