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

Changing position using setFields

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2023, 15:53
Post Changing position using setFields
  #1
New Member
 
SaltyEnforcer
Join Date: Mar 2023
Posts: 3
Rep Power: 3
SaltyEnforcer is on a distinguished road
https://ibb.co/6g54WYJI am simulating with two fluids. In the parallel channel, I want to change the position of the fluid till the vertical channel which is (0.0018 0.0006 0.0006) but even after setting this in setFieldsDict I am getting varied results, the initial image from paraview is attached.

How do I increase the thickness till the vertical column using setFields?
SaltyEnforcer is offline   Reply With Quote

Old   March 5, 2023, 01:23
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
I don't know if you can "change" the position. At least is is not a good way.

I recommend starting with internalField uniform 0; in the alpha file and use setFields to do all the rest.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Reply

Tags
channel flow, setfieldsdict


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
[PyFoam] Problems with the new PyFoam release zfaraday OpenFOAM Community Contributions 13 December 9, 2014 18:58
[PyFoam] having problems with pyfoam Installation vitorspadetoventurin OpenFOAM Community Contributions 3 December 2, 2014 07:18
Force dependent on particle position jranita OpenFOAM Programming & Development 1 August 23, 2011 19:44
changing position of Water column in dam break vivek070176 OpenFOAM 2 June 29, 2011 06:55
how to read in a position file jiejie OpenFOAM 0 May 23, 2011 04:38


All times are GMT -4. The time now is 00:29.