CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Meshing & Mesh Conversion

how to setFields in openFOAM when you have imported mesh from salome or other package

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

LinkBack Thread Tools Display Modes
Old   August 9, 2014, 14:35
Default how to setFields in openFOAM when you have imported mesh from salome or other package
New Member
Muhammad Usman
Join Date: Feb 2014
Posts: 6
Rep Power: 2
13msmemusman is on a distinguished road
i am working on a project in which i generated mesh using salome and converted it into openfoam format but after converting it i found that i have to use setFields utility to set two separate fluids in their positions anyone plz help me in doing that.... i would be grateful to you
13msmemusman is offline   Reply With Quote

Old   August 29, 2014, 04:11
New Member
Join Date: Jul 2014
Posts: 22
Rep Power: 2
jokerito is on a distinguished road

this shouldn't be difficult. Just take a setField from a tutorial and edit it with your wished positions.

    box (0.5 -3.7 -0.75) (22 -2 15);
            volScalarFieldValue alpha.water 1
Just keep in mind that the coordinates are (xmin ymin zmin) (xmax ymax zmax).

Best regards,
jokerito is offline   Reply With Quote


mesh generation, openfoam, salome, setfields

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
Hybrid mesh from Salome to OpenFOAM Sören Sander Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 March 7, 2014 08:16
PorousZone using Mesh imported from Salome Rapha OpenFOAM 4 November 12, 2013 11:57
using METIS functions in fortran dokeun Main CFD Forum 7 January 29, 2013 04:06
No layers in a small gap bobburnquist OpenFOAM Native Meshers: snappyHexMesh and Others 2 November 25, 2012 08:54
[ICEM] Unstructure Meshing Around Imported Plot3D Structured Mesh ICEM kawamatt2 ANSYS Meshing & Geometry 17 December 20, 2011 11:45

All times are GMT -4. The time now is 23:04.