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

Defining mesh motion diffusivity from file

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

LinkBack Thread Tools Search this Thread Display Modes
Old   July 9, 2013, 04:07
Default Defining mesh motion diffusivity from file
New Member
Join Date: Oct 2012
Posts: 17
Rep Power: 13
cuba is on a distinguished road
Hi Everyone,

I am looking for a sample case where the mesh motion diffusivity (using laplaceFaceDecomposition) is defined from file for each point in the mesh?

You may think my case as a shoebox where the top stands still and bottom moves. My mesh is finer at the bottom.
Short side walls of this box are my inlet and outlet boundaries and the long side walls are the slip boundaries.

Thanks for the replies
cuba is offline   Reply With Quote

Old   July 9, 2013, 05:14
Senior Member
akidess's Avatar
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
I don't know a tutorial case, but from what I can tell (looking at the code in 1.6-ext) the diffusivity is defined as a surfaceScalarField, i.e. per face. I'm not sure if there is a tool to set values on a surfaceScalarField (such as setFields for vol*Fields), but if there isn't it wouldn't be too hard to write a small tool specifically for your case.
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   February 12, 2015, 06:00
New Member
Christoph Gradl
Join Date: Feb 2014
Posts: 18
Rep Power: 12
ChristophGradl is on a distinguished road
I am also looking for a sample case - did you found one?
Do you have another solution or workaround?

Thank you,
ChristophGradl is offline   Reply With Quote

Old   October 24, 2023, 09:09
Senior Member
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 153
Rep Power: 16
be_inspired is on a distinguished road
Hi. I hope someone could update this topic. How generate that file?
be_inspired is offline   Reply With Quote


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] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 18:22
[swak4Foam] swak4Foam-groovyBC build problem zxj160 OpenFOAM Community Contributions 18 July 30, 2013 14:14
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 14:59
[swak4Foam] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 06:18
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56

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