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

setFields alpha.water inclusive AMI

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 7, 2024, 16:33
Default setFields alpha.water inclusive AMI
  #1
New Member
 
Volkan Atar
Join Date: Oct 2022
Posts: 23
Rep Power: 4
Volkanatar is on a distinguished road
Hello Foamers,

i have an interfoam case for kind of mixing process. I'm using setFields with surfaceToCell method (using a external .stl file) in the setFieldsDict:

defaultFieldValues
(
volScalarFieldValue alpha.water 0
);

regions
(
surfaceToCell
{

file setfields.stl;
outsidePoints (( 0.0 0.0 0.27 ));
includeCut true;
includeInside true;
includeOutside false;
nearDistance 0.01;
curvature 1;
fieldValues
(
volScalarFieldValue alpha.water 1
);
}

);

My AMI region is staying inside the setfields.stl and after executing the setFields the AMI-region is not "filled" with water. only the volume between AMI region and setfields.stl is being filled. Is there a way to fill also AMI region with water ?

Thanks in advance.
Volkanatar is offline   Reply With Quote

Old   February 27, 2025, 12:32
Default
  #2
New Member
 
Nick
Join Date: Dec 2021
Posts: 17
Rep Power: 5
myozinaung is on a distinguished road
You may use additional boxtoCell and boxtoFace regions to fill the remaining regions.

Quote:
Originally Posted by Volkanatar View Post
Hello Foamers,

i have an interfoam case for kind of mixing process. I'm using setFields with surfaceToCell method (using a external .stl file) in the setFieldsDict:

defaultFieldValues
(
volScalarFieldValue alpha.water 0
);

regions
(
surfaceToCell
{

file setfields.stl;
outsidePoints (( 0.0 0.0 0.27 ));
includeCut true;
includeInside true;
includeOutside false;
nearDistance 0.01;
curvature 1;
fieldValues
(
volScalarFieldValue alpha.water 1
);
}

);

My AMI region is staying inside the setfields.stl and after executing the setFields the AMI-region is not "filled" with water. only the volume between AMI region and setfields.stl is being filled. Is there a way to fill also AMI region with water ?

Thanks in advance.
myozinaung is offline   Reply With Quote

Reply

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
[OLAFLOW] The OLAFLOW Thread Phicau OpenFOAM Community Contributions 459 September 12, 2024 12:47
multiphaseEulerFoam FOAM FATAL IO ERROR qutadah.r OpenFOAM Running, Solving & CFD 11 December 10, 2021 21:18
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 05:13
objects oscillate at high speed causing collapse in Dynamic mesh and overset mesh ca insane OpenFOAM Running, Solving & CFD 0 May 17, 2020 23:35
Free surface issues with interDyMFoam for hydroturbine oumnion OpenFOAM Running, Solving & CFD 0 October 6, 2017 15:05


All times are GMT -4. The time now is 13:37.