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

[swak4Foam] funkySetFields complex boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 28, 2009, 09:44
Default funkySetFields complex boundary
  #1
New Member
 
Alexander
Join Date: Dec 2009
Location: Saint-Petersburg
Posts: 29
Rep Power: 16
Svensson is on a distinguished road
Send a message via Skype™ to Svensson
As by means of funkySetFields to initialize complex boundary conditions. For example totalPressure in a file 0/p. If it is necessary to set variables inside:
type totalPressure;
p0 nonuniform List<scalar>
2
(
1
2
);
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;
Also we shall admit a field p0 will be nonuniform.
Svensson is offline   Reply With Quote

Old   January 4, 2010, 05:51
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by Svensson View Post
As by means of funkySetFields to initialize complex boundary conditions. For example totalPressure in a file 0/p. If it is necessary to set variables inside:
type totalPressure;
p0 nonuniform List<scalar>
2
(
1
2
);
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;
Also we shall admit a field p0 will be nonuniform.
I don't understand the question.

Bernhard
gschaider is offline   Reply With Quote

Old   January 10, 2010, 15:10
Default
  #3
New Member
 
Alexander
Join Date: Dec 2009
Location: Saint-Petersburg
Posts: 29
Rep Power: 16
Svensson is on a distinguished road
Send a message via Skype™ to Svensson
I want to ask if it is possible to intialize difficult boundary conditions with funkySetFields. F.e. totalPressure for the file 0/p. Smth like that:

type totalPressure;
p0 nonuniform List<scalar>
2
(
1
2
);
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;

I mean i want to have not usual, normal, easy (yep, my English s.cks so sry) but.. erm.. difficult (?) variable. not only totalPressure but all that it has inside, f.e. p0.
Hope u could understand anything from the text above. thx.
Svensson is offline   Reply With Quote

Old   January 11, 2010, 05:48
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by Svensson View Post
I want to ask if it is possible to intialize difficult boundary conditions with funkySetFields. F.e. totalPressure for the file 0/p. Smth like that:

type totalPressure;
p0 nonuniform List<scalar>
2
(
1
2
);
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;

I mean i want to have not usual, normal, easy (yep, my English s.cks so sry) but.. erm.. difficult (?) variable. not only totalPressure but all that it has inside, f.e. p0.
Hope u could understand anything from the text above. thx.
OK. I think now I get it. You want to set something else than value to a non-uniform value using keepPatches/valuePatches. I'm sorry. This is currently not possible (even worse: I think that currently applying FSF to that field would remove the entries it doesn't know about (rho etc))

If you think that this is a feature missing from FSF, feel free to add a feature request at https://sourceforge.net/apps/mantisb...e_status_id=90 and I will consider it

Bernhard
gschaider is offline   Reply With Quote

Reply

Tags
funkysetfields


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
My radial inflow turbine Abo Anas CFX 27 May 11, 2018 02:44
CFD analaysis of Pelton turbine amodpanthee CFX 31 April 19, 2018 19:02
Low torque values on Screw Turbine Shaun Waters CFX 34 July 23, 2015 09:16
Radiation interface hinca CFX 15 January 26, 2014 18:11
New topic on same subject - Flow around race car Tudor Miron CFX 15 April 2, 2004 07:18


All times are GMT -4. The time now is 08:54.