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

Error using MRFInterFoam in alpha1 field

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2016, 09:22
Default Error using MRFInterFoam in alpha1 field
  #1
New Member
 
Maral Mohajer
Join Date: Jan 2016
Location: Stuttgart
Posts: 18
Rep Power: 10
MaralMohajer is on a distinguished road
Hi
I'm trying to model sth which is really simple , just a box with back and front empty patch , using MRFInterFoam.

in case of alpha1 I receive this error:
size 3072 is not equal to the given value of 280

can someone from experienced people here help me with?
I'm new to OpenFoam and feel like needing some help.

Best Regards
Maral
MaralMohajer is offline   Reply With Quote

Old   March 6, 2016, 09:50
Default
  #2
Senior Member
 
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 13
BlnPhoenix is on a distinguished road
Hi,

this error usually occurs when u have changed the mesh and try to initialize the fields with SetFields. Solution is to delete the old alpha.water file and copy the file from 0.org folder. When u use SetFields command it will actually write the field values in this default alpha.water file with correct number of cells (3072 in your case).

Give it a try.
BlnPhoenix is offline   Reply With Quote

Old   March 11, 2016, 03:31
Default
  #3
New Member
 
Maral Mohajer
Join Date: Jan 2016
Location: Stuttgart
Posts: 18
Rep Power: 10
MaralMohajer is on a distinguished road
Hi,

Thank you very much, it worked !

Maral
MaralMohajer 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
[SOWFA] NREL SOWFA ABLTerrainSolver tutorial problem cico0815 OpenFOAM Community Contributions 36 February 3, 2022 11:54
Using sample to Inlet velocity field amanbearpig OpenFOAM Running, Solving & CFD 14 November 16, 2015 05:47
Problems creating a volScalarField with expressionField function-object zfaraday OpenFOAM Running, Solving & CFD 2 January 12, 2015 07:49
Demagnetization field jan0385 ANSYS 0 April 12, 2012 09:09


All times are GMT -4. The time now is 21:41.