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

setFields does not recognize inlet patch

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 19, 2021, 07:49
Default setFields does not recognize inlet patch
  #1
New Member
 
Theresa
Join Date: Dec 2020
Posts: 2
Rep Power: 0
thesa is on a distinguished road
Hello everyone,

I created a mesh from a DEM of a river with snappyHexMesh. I did the spillway tutorial of openFoam and I want to apply the interFoam solver at my case. My problem is the following: in the setFieldsDict, I created a box around a part of my geometry, including the inlet patch. The setFields utility works, but it does not set the alpha values to 1 at the inlet and at the atmosphere patch , it does set the alpha values to 1 at the walls and at the internal mesh. I checked already the bounding box, it is large enough to cover the region.

defaultFieldValues
(
volScalarFieldValue alpha.water 0
);
regions
boxToCell
{
box (-100 -10 -10) (100 20 30);
fieldValues
(
volScalarFieldValue alpha.water 1
);
}
);

Any suggestions what might be wrong? How can I fix it?

Thank you for your replies!


regards,
Theresa
thesa is offline   Reply With Quote

Reply

Tags
inlet, interfoam, setfields, setfieldsdict, snappy hex mesh

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Wedge patch '*' is not planar LilumDaru OpenFOAM Meshing & Mesh Conversion 6 January 12, 2021 06:55
[Commercial meshers] Fluent3DMeshToFoam simvun OpenFOAM Meshing & Mesh Conversion 50 January 19, 2020 16:33
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) Aadhavan OpenFOAM Meshing & Mesh Conversion 2 March 8, 2018 02:47
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 14:38
[GAMBIT] periodic faces not matching Aadhavan ANSYS Meshing & Geometry 6 August 31, 2013 12:25


All times are GMT -4. The time now is 17:05.